Merge pull request #1043 from viciousstar/patch-1

Update getting-started.md
pull/1044/head
Sunface 2 years ago committed by GitHub
commit 91c3117c2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -287,15 +287,15 @@ struct Song {
async fn learn_song() -> Song { async fn learn_song() -> Song {
Song { Song {
author: "曲婉婷".to_string(), author: "周杰伦".to_string(),
name: String::from("《我的歌声里》"), name: String::from("《菊花台》"),
} }
} }
async fn sing_song(song: Song) { async fn sing_song(song: Song) {
println!( println!(
"给大家献上一首{}的{} ~ {}", "给大家献上一首{}的{} ~ {}",
song.author, song.name, "你存在我深深的脑海里~ ~" song.author, song.name, "菊花残,满地伤~ ~"
); );
} }

Loading…
Cancel
Save