Rollup merge of #142072 - maflcko:patch-1, r=aDotInTheVoid
doc: Fix inverted meaning in E0783.md `...` (three dots) was the old way of saying `..=`, which both denote the *inclusive* range, not the *exclusive* one.
This commit is contained in:
commit
ed7d1f9610
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ match 2u8 {
|
|||
}
|
||||
```
|
||||
|
||||
Older Rust code using previous editions allowed `...` to stand for exclusive
|
||||
Older Rust code using previous editions allowed `...` to stand for inclusive
|
||||
ranges which are now signified using `..=`.
|
||||
|
||||
To make this code compile replace the `...` with `..=`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue