Skip to content

Commit

Permalink
Merge pull request #4178 from vhborges/listing-17-12-println-fix
Browse files Browse the repository at this point in the history
Switch back from `eprintln!` to `println!` in listing 17-12
  • Loading branch information
chriskrycho authored Jan 6, 2025
2 parents 916af4c + 6ccdc0b commit 30adab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion listings/ch17-async-await/listing-17-12/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fn main() {

let rx_fut = async {
while let Some(value) = rx.recv().await {
eprintln!("received '{value}'");
println!("received '{value}'");
}
};

Expand Down

0 comments on commit 30adab3

Please sign in to comment.