fixed docs

This commit is contained in:
Monica Moniot
2023-10-25 12:36:49 -04:00
parent 8db31ba8dc
commit d4aed2dcc6
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -26,8 +26,8 @@ impl<'a, TL: TransportLayer<SendData>, 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
+2 -2
View File
@@ -79,8 +79,8 @@ impl<'a, TL: TransportLayer<SendData>, 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
+2 -2
View File
@@ -46,8 +46,8 @@ impl<'a, TL: TokioLayer<SendData = SendData>, 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