From f79482bb9aa543b3d10f0fb685d03b46b092acb5 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 12 Oct 2020 10:51:34 +0200 Subject: [PATCH] Update crossbeam-queue requirement from 0.2 to 0.3 --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 648f7da..5fb46f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,4 +16,4 @@ categories = [ "concurrency" ] [dependencies] rayon = "1.3" -crossbeam-queue = { version = "0.2", optional = true } +crossbeam-queue = { version = "0.3", optional = true } diff --git a/src/lib.rs b/src/lib.rs index e822ae0..733cbf9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -198,7 +198,7 @@ impl Queue for SegQueue { #[inline(always)] fn pop(&self) -> Option { - SegQueue::pop(self).ok() + SegQueue::pop(self) } #[inline(always)]