Atomic::null constness somehow changed
This commit is contained in:
parent
05e451f7e1
commit
f12e4101da
|
@ -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"
|
||||
|
|
|
@ -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(),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue