From d4aed2dcc6f814a33edaf97dc01bf0d36d11ed5a Mon Sep 17 00:00:00 2001 From: Monica Moniot Date: Wed, 25 Oct 2023 12:36:49 -0400 Subject: [PATCH] fixed docs --- src/single_thread.rs | 4 ++-- src/sync.rs | 4 ++-- src/tokio.rs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/single_thread.rs b/src/single_thread.rs index a744dba..0ba16bc 100644 --- a/src/single_thread.rs +++ b/src/single_thread.rs @@ -26,8 +26,8 @@ impl<'a, TL: TransportLayer, SendData, RecvData, const CAP: usize> Rep pub fn get_tl_mut(&mut self) -> &mut TL { &mut self.tl } - /// Returns whether or nor this reply guard is for a SeqCst packet, and therefore is - /// holding the SeqCst lock, preventing other SeqCst packets from being processed. + /// Returns whether or nor this reply guard is currently holding the SeqCst lock, + /// preventing other SeqCst packets from being processed. /// /// When this returns `true`, it means the current thread is within the critical section for /// processing SeqCst packets. SeqCst packets can only enter this critical section in the same diff --git a/src/sync.rs b/src/sync.rs index 08cabb1..680fa79 100644 --- a/src/sync.rs +++ b/src/sync.rs @@ -79,8 +79,8 @@ impl<'a, TL: TransportLayer, SendData, RecvData, const CAP: usize> Rep pub fn get_tl_mut(&mut self) -> &mut TL { &mut self.tl } - /// Returns whether or nor this reply guard is for a SeqCst packet, and therefore is - /// holding the SeqCst lock, preventing other SeqCst packets from being processed. + /// Returns whether or nor this reply guard is currently holding the SeqCst lock, + /// preventing other SeqCst packets from being processed. /// /// When this returns `true`, it means the current thread is within the critical section for /// processing SeqCst packets. SeqCst packets can only enter this critical section in the same diff --git a/src/tokio.rs b/src/tokio.rs index 300f009..74e2f21 100644 --- a/src/tokio.rs +++ b/src/tokio.rs @@ -46,8 +46,8 @@ impl<'a, TL: TokioLayer, SendData, RecvData, const CAP: usi pub fn get_tl_mut(&mut self) -> &mut TL { &mut self.tl } - /// Returns whether or nor this reply guard is for a SeqCst packet, and therefore is - /// holding the SeqCst lock, preventing other SeqCst packets from being processed. + /// Returns whether or nor this reply guard is currently holding the SeqCst lock, + /// preventing other SeqCst packets from being processed. /// /// When this returns `true`, it means the current thread is within the critical section for /// processing SeqCst packets. SeqCst packets can only enter this critical section in the same