Skip to content

Commit

Permalink
Derive Debug for Barrier (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
austinjones authored Oct 17, 2020
1 parent 4d699be commit f89a2d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/channel/barrier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ pub fn barrier<T: Clone + Default + Sync>() -> (Barrier<T>, BarrierReceiver<T>)
/// tx.release(Message {});
/// }
/// ```
#[derive(Debug)]
pub struct Barrier<T: Clone + Default + Sync> {
inner: Arc<BarrierInner<T>>,
_t: PhantomData<T>,
Expand Down

0 comments on commit f89a2d6

Please sign in to comment.