mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
fix typo (#4555)
This commit is contained in:
@@ -5,7 +5,7 @@ use std::time::Duration;
|
|||||||
/// A simple wrapper around `parking_lot::RwLock` that only permits read/write access with a
|
/// A simple wrapper around `parking_lot::RwLock` that only permits read/write access with a
|
||||||
/// time-out (i.e., no indefinitely-blocking operations).
|
/// time-out (i.e., no indefinitely-blocking operations).
|
||||||
///
|
///
|
||||||
/// Timeouts can be optionally be disabled at runtime for all instances of this type by calling
|
/// Timeouts can be optionally disabled at runtime for all instances of this type by calling
|
||||||
/// `TimeoutRwLock::disable_timeouts()`.
|
/// `TimeoutRwLock::disable_timeouts()`.
|
||||||
pub struct TimeoutRwLock<T>(RwLock<T>);
|
pub struct TimeoutRwLock<T>(RwLock<T>);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user