Skip to content

Commit 97e8bdb

Browse files
committed
Don't use rustdoc syntax in README
1 parent 829a149 commit 97e8bdb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ let consumer = std::thread::spawn(move || {
3535
assert!(*latest == 42 || *latest == 0);
3636
});
3737

38-
# producer.join().unwrap();
39-
# consumer.join().unwrap();
38+
// Wait for both threads to be done
39+
producer.join().unwrap();
40+
consumer.join().unwrap();
4041
```
4142

4243
In situations where moving the original value away and being unable to

0 commit comments

Comments
 (0)