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.
const_bool
Feature gate: #![feature(const_bool)]
#![feature(const_bool)]
This is a tracking issue for constified boolean methods.
// core::bool impl bool { pub const fn then_some<T: [const] Destruct>(self, t: T) -> Option<T>; pub const fn then<T, F: [const] FnOnce() -> T + [const] Destruct>(self, f: F) -> Option<T>; pub const fn ok_or<E: [const] Destruct>(self, err: E) -> Result<(), E>; pub const fn ok_or_else<E, F: [const] FnOnce() -> E + [const] Destruct>; }
(Remember to update the S-tracking-* label when checking boxes.)
S-tracking-*
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩
Feature gate:
#![feature(const_bool)]This is a tracking issue for constified boolean methods.
Public API
Steps / History
(Remember to update the
S-tracking-*label when checking boxes.)Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩