Commit c08c0a2
fix: resolve clippy errors in main.rs for Linux CI
- Use enumerate+skip+take instead of indexing loop variable
- Merge consecutive str::replace into replace with char array
- Use is_multiple_of instead of % 2 != 0
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 7f4b482 commit c08c0a2
1 file changed
Lines changed: 5 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
864 | 864 | | |
865 | 865 | | |
866 | 866 | | |
867 | | - | |
| 867 | + | |
868 | 868 | | |
869 | 869 | | |
870 | 870 | | |
871 | | - | |
872 | | - | |
873 | | - | |
874 | | - | |
875 | | - | |
876 | | - | |
| 871 | + | |
877 | 872 | | |
878 | | - | |
| 873 | + | |
879 | 874 | | |
880 | 875 | | |
881 | 876 | | |
| |||
2267 | 2262 | | |
2268 | 2263 | | |
2269 | 2264 | | |
2270 | | - | |
| 2265 | + | |
2271 | 2266 | | |
2272 | | - | |
| 2267 | + | |
2273 | 2268 | | |
2274 | 2269 | | |
2275 | 2270 | | |
| |||
0 commit comments