chore(clippy)
This commit is contained in:
parent
89dda462ff
commit
d6bd9242ca
|
@ -209,6 +209,7 @@ impl Notifier {
|
||||||
/// This is created by [`Notifier::guard`].
|
/// This is created by [`Notifier::guard`].
|
||||||
///
|
///
|
||||||
/// Do note that this guard's [`Drop`] implementation will block for the provided timeout and ignore all errors returned by [`barrier()`](Self::barrier).
|
/// Do note that this guard's [`Drop`] implementation will block for the provided timeout and ignore all errors returned by [`barrier()`](Self::barrier).
|
||||||
|
#[must_use = "if unused the synchronization will happen immediately"]
|
||||||
pub struct NotifyBarrierGuard<'a> {
|
pub struct NotifyBarrierGuard<'a> {
|
||||||
notifier: &'a Notifier,
|
notifier: &'a Notifier,
|
||||||
timeout: types::BarrierTimeout,
|
timeout: types::BarrierTimeout,
|
||||||
|
|
Loading…
Reference in a new issue