Skip to content

Commit c65b6db

Browse files
Gibbzlulf
authored andcommitted
remove from sender
1 parent 9f451c7 commit c65b6db

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

embassy-sync/src/priority_channel.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,6 @@ where
7272
self.channel.poll_ready_to_send(cx)
7373
}
7474

75-
/// Removes the elements from the channel that satisfy the predicate.
76-
///
77-
/// See [`PriorityChannel::remove_if()`]
78-
pub fn remove_if<F>(&self, predicate: F)
79-
where
80-
F: Fn(&T) -> bool,
81-
T: Clone,
82-
{
83-
self.channel.remove_if(predicate)
84-
}
85-
8675
/// Returns the maximum number of elements the channel can hold.
8776
///
8877
/// See [`PriorityChannel::capacity()`]

0 commit comments

Comments
 (0)