From 6ccdc0ba65c69ea26c325cabb25be986bfe90110 Mon Sep 17 00:00:00 2001 From: Vinicius Borges Date: Mon, 23 Dec 2024 20:34:54 -0300 Subject: [PATCH] Replace 'eprintln' with 'println' --- listings/ch17-async-await/listing-17-12/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/listings/ch17-async-await/listing-17-12/src/main.rs b/listings/ch17-async-await/listing-17-12/src/main.rs index c22b7d2d75..15cdf55488 100644 --- a/listings/ch17-async-await/listing-17-12/src/main.rs +++ b/listings/ch17-async-await/listing-17-12/src/main.rs @@ -23,7 +23,7 @@ fn main() { let rx_fut = async { while let Some(value) = rx.recv().await { - eprintln!("received '{value}'"); + println!("received '{value}'"); } };