We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcba66c commit 0927aabCopy full SHA for 0927aab
src/slot.rs
@@ -4,7 +4,7 @@
4
//! Conceptually, the `Slot<T>` is the "primary" owner of the value, and access can be leased to one
5
//! other owner through an associated `Lease<T>`.
6
//!
7
-//! It's implemented as a wrapper around an `Arc<Mutex<Option_>>>`, where the `Slot` `take`s the
+//! It's implemented as a wrapper around an `Arc<Mutex<Option<_>>>`, where the `Slot` `take`s the
8
//! value from the `Option` on lease, and the `Lease` puts it back in on drop.
9
10
//! Note that while this is **safe** to use across threads (it is `Send` + `Sync`), concurrently
0 commit comments