parent
2b556d96ee
commit
1d4223cb8b
@ -0,0 +1,22 @@
|
||||
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 => {
|
Loading…
Reference in new issue