diff --git a/library/core/src/bool.rs b/library/core/src/bool.rs index 4a012347201..ca1c0ae7598 100644 --- a/library/core/src/bool.rs +++ b/library/core/src/bool.rs @@ -18,7 +18,7 @@ impl bool { if self { Some(t) } else { None } } - /// 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. /// /// # Examples ///