diff options
| author | Christian Cunningham <c@localhost> | 2022-08-23 21:36:20 -0700 |
|---|---|---|
| committer | Christian Cunningham <c@localhost> | 2022-08-23 21:36:20 -0700 |
| commit | 402679b6ce98346a34660a3c96af6039051f4734 (patch) | |
| tree | 1cad7f069567492b13ae80a41828593e088325b6 /src/util/lifo_queue.rs | |
| parent | 114b75703aab558995a250768de47378c57349d9 (diff) | |
Remove annotation from lib
Diffstat (limited to 'src/util/lifo_queue.rs')
| -rw-r--r-- | src/util/lifo_queue.rs | 2 |
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; |
