|
21 | 21 | * `match`: pattern matching. See [Match].
|
22 | 22 | * `mod`: module declaration. See [Crates and Modules (Defining Modules)].
|
23 | 23 | * `move`: part of closure syntax. See [Closures (`move` closures)].
|
24 |
| -* `mut`: denotes mutability in pointer types, pattern bindings, and `struct` fields. See [Mutability]. |
| 24 | +* `mut`: denotes mutability in pointer types and pattern bindings. See [Mutability]. |
25 | 25 | * `pub`: denotes public visibility in `struct` fields, `impl` blocks, and modules. See [Crates and Modules (Exporting a Public Interface)].
|
26 | 26 | * `ref`: by-reference binding. See [Patterns (`ref` and `ref mut`)].
|
27 | 27 | * `return`: return from function. See [Functions (Early Returns)].
|
|
63 | 63 | * `.` (`expr.ident`): member access. See [Structs], [Method Syntax].
|
64 | 64 | * `..` (`..`, `expr..`, `..expr`, `expr..expr`): right-exclusive range literal.
|
65 | 65 | * `..` (`..expr`): struct literal update syntax. See [Structs (Update syntax)].
|
66 |
| -* `..` (`..ident`): "and the rest" pattern binding. See [Patterns (Ignoring bindings)]. |
| 66 | +* `..` (`variant(x, ..)`, `struct_type { x, .. }`): "and the rest" pattern binding. See [Patterns (Ignoring bindings)]. |
67 | 67 | * `...` (`expr ... expr`): inclusive range pattern. See [Patterns (Ranges)].
|
68 | 68 | * `/` (`expr / expr`): arithmetic division. Overloadable (`Div`).
|
69 | 69 | * `/=` (`var /= expr`): arithmetic division & assignment.
|
|
83 | 83 | * `>=` (`var >= expr`): greater-than or equal-to comparison. Overloadable (`Cmp`, `PartialCmp`).
|
84 | 84 | * `>>` (`expr >> expr`): right-shift. Overloadable (`Shr`).
|
85 | 85 | * `>>=` (`var >>= expr`): right-shift & assignment.
|
86 |
| -* `@` (`expr @ expr`): pattern binding. See [Patterns (Bindings)]. |
| 86 | +* `@` (`ident @ pat`): pattern binding. See [Patterns (Bindings)]. |
87 | 87 | * `^` (`expr ^ expr`): bitwise exclusive or. Overloadable (`BitXor`).
|
88 | 88 | * `^=` (`var ^= expr`): bitwise exclusive or & assignment.
|
89 | 89 | * `|` (`expr | expr`): bitwise or. Overloadable (`BitOr`).
|
|
0 commit comments