Skip to content

Commit 5c61d50

Browse files
committed
chore: clean up unecessary docs.rs annotations in runtime.rs
1 parent 93cba20 commit 5c61d50

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/runtime.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ use tokio::runtime;
44
#[cfg(feature = "metrics-rs-integration")]
55
pub(crate) mod metrics_rs_integration;
66

7-
#[cfg(any(docsrs, all(tokio_unstable, feature = "rt")))]
8-
#[cfg_attr(docsrs, doc(cfg(all(tokio_unstable, feature = "rt"))))]
97
/// Monitors key metrics of the tokio runtime.
108
///
119
/// ### Usage
@@ -53,8 +51,6 @@ pub struct RuntimeMonitor {
5351
runtime: runtime::RuntimeMetrics,
5452
}
5553

56-
#[cfg(any(docsrs, all(tokio_unstable, feature = "rt")))]
57-
#[cfg_attr(docsrs, doc(cfg(all(tokio_unstable, feature = "rt"))))]
5854
/// Key runtime metrics.
5955
#[non_exhaustive]
6056
#[derive(Default, Debug, Clone)]

0 commit comments

Comments
 (0)