Skip to content

Commit 0927aab

Browse files
committed
chore: doc typo
1 parent fcba66c commit 0927aab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/slot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//! Conceptually, the `Slot<T>` is the "primary" owner of the value, and access can be leased to one
55
//! other owner through an associated `Lease<T>`.
66
//!
7-
//! It's implemented as a wrapper around an `Arc<Mutex<Option_>>>`, where the `Slot` `take`s the
7+
//! It's implemented as a wrapper around an `Arc<Mutex<Option<_>>>`, where the `Slot` `take`s the
88
//! value from the `Option` on lease, and the `Lease` puts it back in on drop.
99
//!
1010
//! Note that while this is **safe** to use across threads (it is `Send` + `Sync`), concurrently

0 commit comments

Comments
 (0)