Skip to content

Commit

Permalink
appease clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ibraheemdev committed Feb 9, 2022
1 parent dd342e8 commit b5e90d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ impl<K, V> TreeBin<K, V> {
.is_ok()
{
waiting = true;
let current_thread = Shared::boxed(current(), &collector);
let current_thread = Shared::boxed(current(), collector);
let waiter = self.waiter.swap(current_thread, Ordering::SeqCst, guard);
assert!(waiter.is_null());
}
Expand Down
2 changes: 1 addition & 1 deletion src/raw/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl<K, V> Table<K, V> {
}

pub(crate) fn new(bins: usize, collector: &Collector) -> Self {
Self::from(vec![Atomic::null(); bins], &collector)
Self::from(vec![Atomic::null(); bins], collector)
}

pub(crate) fn is_empty(&self) -> bool {
Expand Down

0 comments on commit b5e90d7

Please sign in to comment.