|
|
|
@ -531,7 +531,7 @@ impl Display for CompOp {
|
|
|
|
|
|
|
|
|
|
/// Logical operators are typically used with Boolean (logical) values; when they are, they return a Boolean value.
|
|
|
|
|
///
|
|
|
|
|
/// However, the && and || operators actually return the value of one of the specified operands,
|
|
|
|
|
/// However, the `&&` and `||` operators actually return the value of one of the specified operands,
|
|
|
|
|
/// so if these operators are used with non-Boolean values, they may return a non-Boolean value.
|
|
|
|
|
///
|
|
|
|
|
/// More information:
|
|
|
|
|