Feature gate: #![feature(bool_toggle)]
This is a tracking issue for bool::toggle, a method that toggles a mutable bool in-place.
Public API
impl bool {
pub const fn toggle(&mut self);
}
Steps / History
(Remember to update the S-tracking-* label when checking boxes.)
Unresolved Questions
Feature gate:
#![feature(bool_toggle)]This is a tracking issue for
bool::toggle, a method that toggles a mutable bool in-place.Public API
Steps / History
(Remember to update the
S-tracking-*label when checking boxes.)bool::toggle#159296Unresolved Questions
flipinstead? (Method to invert/toggle a boolean libs-team#820 (comment))Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩