From cf9a03c107ea523480e03234aff422905abaf8d7 Mon Sep 17 00:00:00 2001 From: mTsBucy1 <85930053+mTsBucy1@users.noreply.github.com> Date: Wed, 12 Apr 2023 14:32:38 +0200 Subject: [PATCH] macros: hide internal constant in select! macro (#5617) --- tokio/src/macros/select.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tokio/src/macros/select.rs b/tokio/src/macros/select.rs index 31c9b3ac2e5..8e2aba90af9 100644 --- a/tokio/src/macros/select.rs +++ b/tokio/src/macros/select.rs @@ -449,6 +449,7 @@ macro_rules! select { use $crate::macros::support::Pin; use $crate::macros::support::Poll::{Ready, Pending}; + #[doc(hidden)] const BRANCHES: u32 = $crate::count!( $($count)* ); let mut disabled: __tokio_select_util::Mask = Default::default();