Atomic::null constness somehow changed

This commit is contained in:
Toby Lawrence 2020-10-24 10:18:24 -04:00
parent 05e451f7e1
commit f12e4101da
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ arc-swap = { version = "0.4", optional = true }
atomic-shim = { version = "0.1", optional = true }
aho-corasick = { version = "0.7", optional = true }
dashmap = { version = "3", optional = true }
indexmap = { version = "1.6", optional = true }}
indexmap = { version = "1.6", optional = true }
[dev-dependencies]
bolero = "0.5"

View File

@ -112,7 +112,7 @@ pub struct AtomicBucket<T> {
impl<T> AtomicBucket<T> {
/// Creates a new, empty bucket.
pub const fn new() -> Self {
pub fn new() -> Self {
AtomicBucket {
tail: Atomic::null(),
}