diff options
| author | patrick-gu <55641350+patrick-gu@users.noreply.github.com> | 2021-09-03 17:13:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-03 17:13:42 -0700 |
| commit | 7c32b58df24fe98dd3529d344fec6b1ad1631b63 (patch) | |
| tree | 88b8856b0b2d3bedd7a3a45882b37c51d8f5140d | |
| parent | 529abb2fc0895b78c0f2763e4ce0413d889712c2 (diff) | |
| download | rust-7c32b58df24fe98dd3529d344fec6b1ad1631b63.tar.gz rust-7c32b58df24fe98dd3529d344fec6b1ad1631b63.zip | |
Fix accidentally deleted part
| -rw-r--r-- | library/core/src/bool.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 /// |
