1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-21 22:49:44 +02:00

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.
This commit is contained in:
Bryan Hitchcock 2023-05-23 02:36:58 -07:00 committed by GitHub
parent 220c0d4783
commit 584e3ecd7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}");
}
}
```