diff options
| author | Camelid <camelidcamel@gmail.com> | 2021-01-01 18:55:01 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-01 18:55:01 -0800 |
| commit | 4e767596e2988106c970a08ba1c0bcf16e340fc4 (patch) | |
| tree | f47f584384bd9b570ea2e6265734da74cb0a48d9 /library/std/src | |
| parent | 4af11126a8a6ef704b03468444390875ac8608d7 (diff) | |
| download | rust-4e767596e2988106c970a08ba1c0bcf16e340fc4.tar.gz rust-4e767596e2988106c970a08ba1c0bcf16e340fc4.zip | |
always demands -> requires
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/primitive_docs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/primitive_docs.rs b/library/std/src/primitive_docs.rs index a27971e9dce..098231bc686 100644 --- a/library/std/src/primitive_docs.rs +++ b/library/std/src/primitive_docs.rs @@ -11,7 +11,7 @@ /// `bool` implements various traits, such as [`BitAnd`], [`BitOr`], [`Not`], etc., /// which allow us to perform boolean operations using `&`, `|` and `!`. /// -/// `if` always demands a `bool` value as its conditional. [`assert!`], which is an +/// `if` requires a `bool` value as its conditional. [`assert!`], which is an /// important macro in testing, checks whether an expression is `true` and panics /// if it isn't. /// |
