Commit 8c403ca
committed
fix: use unsuffixed numeric literal for tuple index
See <rust-lang/rust#60210> for more context.
This has been a future-incompatibility warning since Rust 1.27, where
tuple index subexpressions with invalid suffixes (in this case,
`.0usize`) was erroneously accidentally accepted. This will become a
hard error in Rust 1.91.1 parent 37d526c commit 8c403ca
1 file changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
107 | 110 | | |
108 | 111 | | |
109 | 112 | | |
| |||
0 commit comments