always demands -> requires

This commit is contained in:
Camelid 2021-01-01 18:55:01 -08:00 committed by GitHub
parent 4af11126a8
commit 4e767596e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
///