Skip to content

Commit

Permalink
cleanup comments / cfg gates
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoh committed May 23, 2024
1 parent 969c446 commit 3fb35a0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tokio/src/macros/cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,6 @@ macro_rules! cfg_macros {
macro_rules! cfg_metrics {
($($item:item)*) => {
$(
// For now, metrics is only disabled in loom tests.
// When stabilized, it might have a dedicated feature flag.
#[cfg(tokio_unstable)]
#[cfg_attr(docsrs, doc(cfg(tokio_unstable)))]
$item
Expand All @@ -231,7 +229,7 @@ macro_rules! cfg_metrics {
macro_rules! cfg_64bit_metrics {
($($item:item)*) => {
$(
#[cfg(all(target_has_atomic = "64"))]
#[cfg(target_has_atomic = "64")]
#[cfg_attr(docsrs, doc(cfg(target_has_atomic = "64")))]
$item
)*
Expand Down

0 comments on commit 3fb35a0

Please sign in to comment.