We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c807cb commit 5ef648bCopy full SHA for 5ef648b
src/concurrency/thread/crossbeam-complex.md
@@ -53,7 +53,7 @@ fn main() {
53
let (sendr, recvr) = (snd2.clone(), rcv1.clone());
54
// Spawn workers in separate threads
55
s.spawn(move |_| {
56
- thread::sleep(Duration::from_millis(500));
+ thread::sleep(Duration::from_millis(500));
57
// Receive until channel closes
58
for msg in recvr.iter() {
59
println!("Worker {:?} received {}.",
0 commit comments