mirror of
https://github.com/rust-lang/book.git
synced 2026-12-03 06:35:06 -06:00
Reword ... explanation to include the word deprecated, list that first
This commit is contained in:
@@ -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 | |
|
||||
|
||||
Reference in New Issue
Block a user