Reword ... explanation to include the word deprecated, list that first

This commit is contained in:
Carol (Nichols || Goulding)
2021-07-03 14:20:29 -04:00
parent 1ec8817b20
commit 1a4e07ad8d
+1 -1
View File
@@ -42,7 +42,7 @@ overload that operator is listed.
| `..=` | `..=expr`, `expr..=expr` | Right-inclusive range literal | |
| `..` | `..expr` | Struct literal update syntax | |
| `..` | `variant(x, ..)`, `struct_type { x, .. }` | “And the rest” pattern binding | |
| `...` | `expr...expr` | In a pattern: inclusive range pattern (now replaced with `..=`) | |
| `...` | `expr...expr` | (Deprecated, use `..=` instead) In a pattern: inclusive range pattern | |
| `/` | `expr / expr` | Arithmetic division | `Div` |
| `/=` | `var /= expr` | Arithmetic division and assignment | `DivAssign` |
| `:` | `pat: type`, `ident: type` | Constraints | |