diff --git a/metered-channel/src/bounded.rs b/metered-channel/src/bounded.rs index 03478b3..01570f1 100644 --- a/metered-channel/src/bounded.rs +++ b/metered-channel/src/bounded.rs @@ -533,10 +533,4 @@ impl MeteredSender { pub fn len(&self) -> usize { self.meter.calculate_channel_len() } - - #[cfg(feature = "futures_channel")] - /// Returns the current number of messages in the channel based on meter approximation - pub fn len(&self) -> usize { - self.meter.calculate_channel_len() - } }