diff --git a/boa/src/syntax/ast/op.rs b/boa/src/syntax/ast/op.rs index 88fa4fc7ca..bbedc5bc9b 100644 --- a/boa/src/syntax/ast/op.rs +++ b/boa/src/syntax/ast/op.rs @@ -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: