parent
7cc8c44871
commit
01b439e764
6 changed files with 47 additions and 0 deletions
|
@ -167,6 +167,7 @@ impl BarrierWaitResult {
|
|||
/// println!("{:?}", barrier_wait_result.is_leader());
|
||||
/// ```
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[must_use]
|
||||
pub fn is_leader(&self) -> bool {
|
||||
self.0
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue