fn remove_sender(&mut self, sender: CoreStatsSender) {
        let mut index = usize::MAX;
        for (idx, s) in self.senders.iter().enumerate() {
            if sender.sender.same_channel(&s.sender) {
                index = idx;
                break;
            }
        }
        if index != usize::MAX {
            self.senders.swap_remove(index);
        }
    }
// remove sender if in the list (drain_filter() is still experimental)
remove sender if in the list (drain_filter() is still experimental)
remove sender if in the list ( drain_filter () is still experimental )
fn remove_sender(&mut self, sender: CoreStatsSender) {
        let mut index = usize::MAX;
        for (idx, s) in self.senders.iter().enumerate() {
            if sender.sender.same_channel(&s.sender) {
                index = idx;
                break;
            }
        }
        if index != usize::MAX {
            self.senders.swap_remove(index);
        }
    }
fn remove_sender ( & mut self , sender : CoreStatsSender ) { let mut index = usize :: MAX ; for ( idx , s ) in self . senders . iter ( ) . enumerate ( ) { if sender . sender . same_channel ( & s . sender ) { index = idx ; break ; } } if index != usize :: MAX { self . senders . swap_remove ( index ) ; } }
remove sender if in the list (drain_filter() is still experimental)
remove sender if in the list ( drain_filter () is still experimental )
&mut self
sender
CoreStatsSender