Skip to content

Commit

Permalink
fix dead code warning
Browse files Browse the repository at this point in the history
  • Loading branch information
maminrayej committed Jan 19, 2025
1 parent b931f0d commit 1e131da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tokio/src/io/blocking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ cfg_io_blocking! {
}

impl<T> Blocking<T> {
#[cfg_attr(not(feature = "io-std"), allow(dead_code))]
pub(crate) fn inner(&self) -> Option<&T> {
self.inner.as_ref()
}
Expand Down

0 comments on commit 1e131da

Please sign in to comment.