Commit 7520d22
committed
cleanup: suppress clippy
Although the suggestion of using `fold` and `write!` is indeed more efficient, it's harder to read and write, and these code paths are not performance-sensitive. There's also a fix where we `flat_map` and yield all of the string components in a fixed-size array, but it's hard to read.format-collect warnings1 parent 5af43ab commit 7520d22
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
929 | 930 | | |
930 | 931 | | |
931 | 932 | | |
| 933 | + | |
932 | 934 | | |
933 | 935 | | |
934 | 936 | | |
| |||
1095 | 1097 | | |
1096 | 1098 | | |
1097 | 1099 | | |
| 1100 | + | |
1098 | 1101 | | |
1099 | 1102 | | |
1100 | 1103 | | |
| |||
0 commit comments