We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb3c515 commit 6edf1a7Copy full SHA for 6edf1a7
futures-util/src/stream/select_with_strategy.rs
@@ -16,6 +16,7 @@ pub enum PollNext {
16
17
impl PollNext {
18
/// Toggle the value and return the old one.
19
+ #[must_use]
20
pub fn toggle(&mut self) -> Self {
21
let old = *self;
22
0 commit comments