Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexfertel/rust-algorithms
/ dequeue
Method
dequeue
src/data_structures/queue.rs:30–32 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
28
}
29
30
pub fn dequeue(&mut self) -> Option<T> {
31
self.vec.pop_front()
32
}
33
}
34
35
#[cfg(test)]
Callers
2
fills_and_empties
Function · 0.80
alternate_mutations
Function · 0.80
Calls
1
pop_front
Method · 0.80
Tested by
2
fills_and_empties
Function · 0.64
alternate_mutations
Function · 0.64