You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-flume/149.patch

23 lines
626 B

From e10d854c51422f8204cade760f2e1a406675f2ec Mon Sep 17 00:00:00 2001
From: rikkaka <dsywh123@gmail.com>
Date: Sat, 8 Jun 2024 20:10:21 +0800
Subject: [PATCH] add const _IS_BIASED
---
tests/mpsc.rs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/mpsc.rs b/tests/mpsc.rs
index 213b9d8..9fb69be 100644
--- a/tests/mpsc.rs
+++ b/tests/mpsc.rs
@@ -175,6 +175,8 @@ macro_rules! select {
(
$($name:pat = $rx:ident.$meth:ident() => $code:expr),+
) => ({
+ const _IS_BIASED: bool = false;
+
crossbeam_channel_internal! {
$(
recv(($rx).inner) -> res => {