Skip to content

Commit

Permalink
Merge pull request sunface#1043 from viciousstar/patch-1
Browse files Browse the repository at this point in the history
Update getting-started.md
  • Loading branch information
sunface authored Oct 11, 2022
2 parents 6c4794b + c3b3c74 commit 91c3117
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/async-rust/async/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,15 +287,15 @@ struct Song {

async fn learn_song() -> Song {
Song {
author: "曲婉婷".to_string(),
name: String::from("我的歌声里"),
author: "周杰伦".to_string(),
name: String::from("菊花台"),
}
}

async fn sing_song(song: Song) {
println!(
"给大家献上一首{}的{} ~ {}",
song.author, song.name, "你存在我深深的脑海里~ ~"
song.author, song.name, "菊花残,满地伤~ ~"
);
}

Expand Down

0 comments on commit 91c3117

Please sign in to comment.