Skip to content

Commit

Permalink
Merge pull request #2318 from pie-flavor/patch-1
Browse files Browse the repository at this point in the history
Mention short-circuiting in Appendix 02
  • Loading branch information
steveklabnik authored Apr 26, 2020
2 parents f688ff2 + 37f458f commit e37c0e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/appendix-02-operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ overload that operator is listed.
| `&` | `&type`, `&mut type`, `&'a type`, `&'a mut type` | Borrowed pointer type | |
| `&` | `expr & expr` | Bitwise AND | `BitAnd` |
| `&=` | `var &= expr` | Bitwise AND and assignment | `BitAndAssign` |
| `&&` | `expr && expr` | Logical AND | |
| `&&` | `expr && expr` | Short-circuiting logical AND | |
| `*` | `expr * expr` | Arithmetic multiplication | `Mul` |
| `*=` | `var *= expr` | Arithmetic multiplication and assignment | `MulAssign` |
| `*` | `*expr` | Dereference | |
Expand Down Expand Up @@ -67,7 +67,7 @@ overload that operator is listed.
| <code>&vert;</code> | <code>pat &vert; pat</code> | Pattern alternatives | |
| <code>&vert;</code> | <code>expr &vert; expr</code> | Bitwise OR | `BitOr` |
| <code>&vert;=</code> | <code>var &vert;= expr</code> | Bitwise OR and assignment | `BitOrAssign` |
| <code>&vert;&vert;</code> | <code>expr &vert;&vert; expr</code> | Logical OR | |
| <code>&vert;&vert;</code> | <code>expr &vert;&vert; expr</code> | Short-circuiting logical OR | |
| `?` | `expr?` | Error propagation | |

### Non-operator Symbols
Expand Down

0 comments on commit e37c0e8

Please sign in to comment.