From 8e3278fdd21d65ccf81cb2a78417ebca5fef0190 Mon Sep 17 00:00:00 2001 From: Benjamin Lerman Date: Tue, 10 May 2022 10:30:20 +0200 Subject: [PATCH] Fix typos --- src/parkinglot.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parkinglot.rs b/src/parkinglot.rs index bd7777b..fff2cb4 100644 --- a/src/parkinglot.rs +++ b/src/parkinglot.rs @@ -194,9 +194,9 @@ impl TracingOnce { 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)) { let _borrow = self.id.get_borrowed(); self.inner.call_once_force(f);