Skip to content

Commit

Permalink
Add #[derive(Debug)] to LockLatch so it can be included (indirectly) …
Browse files Browse the repository at this point in the history
…in ScopeBase
  • Loading branch information
rocallahan committed Apr 14, 2021
1 parent c571f8f commit e24d9e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rayon-core/src/latch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ impl<'r> Latch for SpinLatch<'r> {

/// A Latch starts as false and eventually becomes true. You can block
/// until it becomes true.
#[derive(Debug)]
pub(super) struct LockLatch {
m: Mutex<bool>,
v: Condvar,
Expand Down

0 comments on commit e24d9e2

Please sign in to comment.