mirror of
https://github.com/bertptrs/tracing-mutex.git
synced 2025-12-25 20:50:32 +01:00
Fix typos
This commit is contained in:
@@ -194,9 +194,9 @@ impl TracingOnce {
|
|||||||
self.inner.call_once(f);
|
self.inner.call_once(f);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Performs the given initialization routeine once and only once.
|
/// Performs the given initialization routine once and only once.
|
||||||
///
|
///
|
||||||
/// This method is identical to [`TracingOnce::call_once`] except it ignores poisining.
|
/// This method is identical to [`TracingOnce::call_once`] except it ignores poisoning.
|
||||||
pub fn call_once_force(&self, f: impl FnOnce(OnceState)) {
|
pub fn call_once_force(&self, f: impl FnOnce(OnceState)) {
|
||||||
let _borrow = self.id.get_borrowed();
|
let _borrow = self.id.get_borrowed();
|
||||||
self.inner.call_once_force(f);
|
self.inner.call_once_force(f);
|
||||||
|
|||||||
Reference in New Issue
Block a user