pub fn remove(&mut self, sample: u64) -> bool {
        use std::collections::btree_map::Entry;

        if let Entry::Occupied(mut entry) = self.samples.entry(sample) {
            let val = entry.get_mut();
            *val -= 1;
            if val == &0 {
                entry.remove_entry();
            }
            return true;
        }
        false
    }
/// Remove a sample from this histogram.
Remove a sample from this histogram.
Remove a sample from this histogram .
pub fn remove(&mut self, sample: u64) -> bool {
        use std::collections::btree_map::Entry;
        if let Entry::Occupied(mut entry) = self.samples.entry(sample) {
            let val = entry.get_mut();
            *val -= 1;
            if val == &0 {
                entry.remove_entry();
            }
            return true;
        }
        false
    }
pub fn remove ( & mut self , sample : u64 ) -> bool { use std :: collections :: btree_map :: Entry ; if let Entry :: Occupied ( mut entry ) = self . samples . entry ( sample ) { let val = entry . get_mut ( ) ; * val -= 1 ; if val == & 0 { entry . remove_entry ( ) ; } return true ; } false }
Remove a sample from this histogram.
Remove a sample from this histogram .
&mut self
sample
u64