Update crossbeam-queue requirement from 0.2 to 0.3
This commit is contained in:
parent
8d046cb502
commit
f79482bb9a
|
@ -16,4 +16,4 @@ categories = [ "concurrency" ]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rayon = "1.3"
|
rayon = "1.3"
|
||||||
crossbeam-queue = { version = "0.2", optional = true }
|
crossbeam-queue = { version = "0.3", optional = true }
|
||||||
|
|
|
@ -198,7 +198,7 @@ impl<T> Queue<T> for SegQueue<T> {
|
||||||
|
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
fn pop(&self) -> Option<T> {
|
fn pop(&self) -> Option<T> {
|
||||||
SegQueue::pop(self).ok()
|
SegQueue::pop(self)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
|
|
Loading…
Reference in a new issue