Skip to content

Commit

Permalink
macros: hide internal constant in select! macro (#5617)
Browse files Browse the repository at this point in the history
  • Loading branch information
mTsBucy1 authored Apr 12, 2023
1 parent 3b45e86 commit cf9a03c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tokio/src/macros/select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit cf9a03c

Please sign in to comment.