We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb0896a commit af9eb4fCopy full SHA for af9eb4f
src/librustc_data_structures/work_queue.rs
@@ -53,7 +53,7 @@ impl<T: Idx> WorkQueue<T> {
53
}
54
55
56
- /// Attempt to enqueue `element` in the work queue. Returns false if it was already present.
+ /// Attempt to pop an element from the work queue.
57
#[inline]
58
pub fn pop(&mut self) -> Option<T> {
59
if let Some(element) = self.deque.pop_front() {
0 commit comments