From 367ea452b09e1a0a8c67bb309073d37792bb748d Mon Sep 17 00:00:00 2001 From: Mica White Date: Mon, 11 Mar 2024 16:51:15 -0400 Subject: Doc bug fix --- src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index b953cda..8a35eb1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -37,7 +37,7 @@ //! [`LockCollection::new_unchecked`] doesn't do this check, but is unsafe to //! call. //! -//! **Avoid using distinct lock orders for `LockCollection`.** The problem is +//! **Avoid using distinct lock orders for [`LockCollection`].** The problem is //! that this library must iterate through the list of locks, and not complete //! until every single one of them is unlocked. This also means that attempting //! to lock multiple mutexes gives you a lower chance of ever running. Only one @@ -104,7 +104,6 @@ //! println!("{}", *data.0); //! println!("{}", *data.1); //! ``` -//! ``` mod collection; mod key; -- cgit v1.2.3