]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/bool.rs
Fix naming format of IEEE 754 standard
[rust.git] / library / core / src / bool.rs
index f7a8aa0d92156afade26be57045f33608801442e..7667a6508376912d005e04656396d9d811c060fd 100644 (file)
@@ -6,6 +6,12 @@ impl bool {
     /// Returns `Some(t)` if the `bool` is [`true`](../std/keyword.true.html),
     /// or `None` otherwise.
     ///
+    /// Arguments passed to `then_some` are eagerly evaluated; if you are
+    /// passing the result of a function call, it is recommended to use
+    /// [`then`], which is lazily evaluated.
+    ///
+    /// [`then`]: bool::then
+    ///
     /// # Examples
     ///
     /// ```