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.
then
bool
1 parent 24c92b5 commit 5f4f3d4Copy full SHA for 5f4f3d4
core/src/bool.rs
@@ -54,6 +54,7 @@ impl bool {
54
/// // `then`.
55
/// assert_eq!(a, 1);
56
/// ```
57
+ #[doc(alias = "then_with")]
58
#[stable(feature = "lazy_bool_to_option", since = "1.50.0")]
59
#[cfg_attr(not(test), rustc_diagnostic_item = "bool_then")]
60
#[inline]
0 commit comments