mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 18:40:57 +03:00
Rollup merge of #33456 - CryZe:barrier-wait-docs, r=GuillaumeGomez
Fix Typo in Barrier::wait documentation This should be `have` instead of `has`.
This commit is contained in:
@@ -71,7 +71,7 @@ pub fn new(n: usize) -> Barrier {
|
||||
}
|
||||
}
|
||||
|
||||
/// Blocks the current thread until all threads has rendezvoused here.
|
||||
/// Blocks the current thread until all threads have rendezvoused here.
|
||||
///
|
||||
/// Barriers are re-usable after all threads have rendezvoused once, and can
|
||||
/// be used continuously.
|
||||
|
||||
Reference in New Issue
Block a user