mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-25 06:03:16 +00:00
auto merge of #11823 : derekchiang/rust/fix-barrier-doc, r=alexcrichton
The original comments weren't rendered correctly by Markdown.
This commit is contained in:
commit
0119e46204
@ -686,6 +686,7 @@ impl<'a> RWLockReadMode<'a> {
|
||||
|
||||
/// A barrier enables multiple tasks to synchronize the beginning
|
||||
/// of some computation.
|
||||
///
|
||||
/// ```rust
|
||||
/// use extra::sync::Barrier;
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user