summaryrefslogtreecommitdiffstats
path: root/tokio/src/runtime/thread_pool/atomic_cell.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/src/runtime/thread_pool/atomic_cell.rs')
-rw-r--r--tokio/src/runtime/thread_pool/atomic_cell.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/tokio/src/runtime/thread_pool/atomic_cell.rs b/tokio/src/runtime/thread_pool/atomic_cell.rs
index 2bda0fc7..98847e6f 100644
--- a/tokio/src/runtime/thread_pool/atomic_cell.rs
+++ b/tokio/src/runtime/thread_pool/atomic_cell.rs
@@ -22,7 +22,6 @@ impl<T> AtomicCell<T> {
from_raw(old)
}
- #[cfg(feature = "blocking")]
pub(super) fn set(&self, val: Box<T>) {
let _ = self.swap(Some(val));
}