Skip to content

Commit

Permalink
Another merge damage
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Oct 2, 2023
1 parent b0aeab3 commit ffe9024
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions metered-channel/src/bounded.rs
Original file line number Diff line number Diff line change
Expand Up @@ -533,10 +533,4 @@ impl<T> MeteredSender<T> {
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()
}
}

0 comments on commit ffe9024

Please sign in to comment.