Commit 0790356
committed
Auto merge of rust-lang#18300 - krobelus:clamp-position-character-2, r=Veykril
Clamp Position::character to line length 2/2
Completes rust-lang/rust-analyzer#18243
I don't think I have permissions to target this on the other PR, so we'll need to rebase manuallyFile tree
2 files changed
+11
-3
lines changed- src/tools/rust-analyzer
- crates/rust-analyzer/src/lsp
2 files changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
42 | 50 | | |
43 | 51 | | |
44 | 52 | | |
| |||
0 commit comments