summaryrefslogtreecommitdiffstats
path: root/tokio/src/util/bit.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/src/util/bit.rs')
-rw-r--r--tokio/src/util/bit.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/tokio/src/util/bit.rs b/tokio/src/util/bit.rs
index ee756044..cf3cb196 100644
--- a/tokio/src/util/bit.rs
+++ b/tokio/src/util/bit.rs
@@ -22,12 +22,6 @@ impl Pack {
Pack { mask, shift }
}
- /// Mask used to unpack value
- #[cfg(all(test, loom))]
- pub(crate) const fn mask(&self) -> usize {
- self.mask
- }
-
/// Width, in bits, dedicated to storing the value.
pub(crate) const fn width(&self) -> u32 {
pointer_width() - (self.mask >> self.shift).leading_zeros()