Commit 581aa8d
Eugene Shamis
Replace checked slice indexing by unchecked to support panic-free code
Fixes rust-lang#126425
Replace the potentially panicking `[]` indexing with `get_unchecked()`
to prevent linking with panic-related code.1 parent 84fae7e commit 581aa8d
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
0 commit comments