diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-06-06 00:58:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-06 00:58:47 +0200 |
| commit | ed7d1f96105dd033d5f9cce523bf9686e367a685 (patch) | |
| tree | c7d587a25a8df465414c63f8954e291cefceaf62 | |
| parent | 2f7de4fca48a04240548484df8936f35e85758af (diff) | |
| parent | 79fbc38867529b3dc29fa0542a1e2b3e4ee592b5 (diff) | |
| download | rust-ed7d1f96105dd033d5f9cce523bf9686e367a685.tar.gz rust-ed7d1f96105dd033d5f9cce523bf9686e367a685.zip | |
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.
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0783.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0783.md b/compiler/rustc_error_codes/src/error_codes/E0783.md index 73981e59e0d..ac8641cfc5a 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0783.md +++ b/compiler/rustc_error_codes/src/error_codes/E0783.md @@ -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 `..=`. |
