Skip to content

Commit ed7b244

Browse files
committed
Fix documentation typo
1 parent 90e6eeb commit ed7b244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sync/once.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ use crate::thread::{self, Thread};
110110
/// ```
111111
#[stable(feature = "rust1", since = "1.0.0")]
112112
pub struct Once {
113-
// `state_and_queue` is actually an a pointer to a `Waiter` with extra state
113+
// `state_and_queue` is actually a pointer to a `Waiter` with extra state
114114
// bits, so we add the `PhantomData` appropriately.
115115
state_and_queue: AtomicUsize,
116116
_marker: marker::PhantomData<*const Waiter>,

0 commit comments

Comments
 (0)