We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 529abb2 commit 7c32b58Copy full SHA for 7c32b58
library/core/src/bool.rs
@@ -18,7 +18,7 @@ impl bool {
18
if self { Some(t) } else { None }
19
}
20
21
- /// Returns `Some` if the `bool` is [`true`](keyword.true.html), or `None` otherwise.
+ /// Returns `Some(f())` if the `bool` is [`true`](keyword.true.html), or `None` otherwise.
22
///
23
/// # Examples
24
0 commit comments