From 584e3ecd7d14c3e1c713268658da600409712341 Mon Sep 17 00:00:00 2001 From: Bryan Hitchcock Date: Tue, 23 May 2023 02:36:58 -0700 Subject: [PATCH] Fix inconsistent code in unbounded.md (#656) Update unbounded.md to address inconsistent code Fix inconsistency between concurrency `unbounded.md` and `bounded.md` by using implicitly named arguments for both. --- src/concurrency/channels/unbounded.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/concurrency/channels/unbounded.md b/src/concurrency/channels/unbounded.md index 244bc4d5..e96220f1 100644 --- a/src/concurrency/channels/unbounded.md +++ b/src/concurrency/channels/unbounded.md @@ -21,7 +21,7 @@ fn main() { thread::sleep(Duration::from_millis(100)); for msg in rx.iter() { - println!("Main: got {}", msg); + println!("Main: got {msg}"); } } ```