always demands -> requires
This commit is contained in:
parent
4af11126a8
commit
4e767596e2
@ -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.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user