diff --git a/lock_api/src/lib.rs b/lock_api/src/lib.rs index 65765463..de724422 100644 --- a/lock_api/src/lib.rs +++ b/lock_api/src/lib.rs @@ -52,7 +52,7 @@ //! .is_ok() //! } //! -//! fn unlock(&self) { +//! unsafe fn unlock(&self) { //! self.0.store(false, Ordering::Release); //! } //! }