Skip to content

Commit

Permalink
Make constant in select! macro doc(hidden)
Browse files Browse the repository at this point in the history
See serde-rs/serde#2426 for additional explanation.
  • Loading branch information
mTsBucy1 committed Apr 12, 2023
1 parent 3b45e86 commit e87979e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tokio/src/macros/select.rs
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 e87979e

Please sign in to comment.