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:
parent
220c0d4783
commit
584e3ecd7d
@ -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}");
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user