Skip to content

Commit

Permalink
Replace 'eprintln' with 'println'
Browse files Browse the repository at this point in the history
  • Loading branch information
vhborges committed Dec 23, 2024
1 parent 04d06df commit 6ccdc0b
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 6ccdc0b

Please sign in to comment.