Skip to content

Commit e81dd7c

Browse files
authored
another occurance
1 parent 0ed6d4f commit e81dd7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/expressions/if-expr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ fn nested() {
186186
```
187187

188188
r[expr.if.chains.or]
189-
If any condition operand is a `let` pattern, then none of the condition operands can be a `||` [lazy boolean operator expression][expr.bool-logic] due to ambiguity and precedence with the `let` scrutinee. If a `||` expression is needed, then parentheses can be used. For example:
189+
If any condition operand is a `let` pattern, then none of the condition operands can be a `||` [lazy boolean operator expression][expr.bool-logic] due to ambiguity and precedence with the `let` scrutinee. If a `||` expression is needed, then parentheses must be used. For example:
190190

191191
```rust
192192
# let foo = Some(123);

0 commit comments

Comments
 (0)