summaryrefslogtreecommitdiff
path: root/src/util/lifo_queue.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/lifo_queue.rs')
-rw-r--r--src/util/lifo_queue.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util/lifo_queue.rs b/src/util/lifo_queue.rs
index cac1a7d..77d14d9 100644
--- a/src/util/lifo_queue.rs
+++ b/src/util/lifo_queue.rs
@@ -67,7 +67,6 @@ impl<'a, T: Sized, const COUNT: usize> LifoQueue<'a, T, COUNT> {
/// # Pop
///
/// Get an item from the queue
- #[allow(dead_code)]
pub fn pop(&self) -> Option<&mut Node<'a, T>> {
return self.inner.lock(|pool| {
if let Some(entry) = pool[0].next {
@@ -85,7 +84,6 @@ impl<'a, T: Sized, const COUNT: usize> LifoQueue<'a, T, COUNT> {
/// # Push
///
/// Add the item to the start of the queue.
- #[allow(dead_code)]
pub fn push(&self, freed_item: &mut Node<'a, T>) {
self.inner.lock(|pool| {
freed_item.next = pool[0].next;