Skip to content

Commit 5ef648b

Browse files
authored
Fix indent for a crossbeam example (#739)
This patch fixes indent for a crossbeam example.
1 parent 6c807cb commit 5ef648b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/concurrency/thread/crossbeam-complex.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ fn main() {
5353
let (sendr, recvr) = (snd2.clone(), rcv1.clone());
5454
// Spawn workers in separate threads
5555
s.spawn(move |_| {
56-
thread::sleep(Duration::from_millis(500));
56+
thread::sleep(Duration::from_millis(500));
5757
// Receive until channel closes
5858
for msg in recvr.iter() {
5959
println!("Worker {:?} received {}.",

0 commit comments

Comments
 (0)