Skip to content

Commit

Permalink
Fix weird comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee-Janggun committed Feb 20, 2024
1 parent a0de8bb commit 9784fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lockfree/queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ impl<T> Queue<T> {
Self::default()
}

/// Adds `t` to the back of the queue, possibly waking up threads blocked on `pop()`.
/// Adds `t` to the back of the queue.
pub fn push(&self, t: T, guard: &mut Guard) {
let mut new = Owned::new(Node {
data: MaybeUninit::new(t),
Expand Down

0 comments on commit 9784fb4

Please sign in to comment.