@@ -160,12 +160,10 @@ LL | let (l, r) = "a.b.c".split_once('.').unwrap();
160
160
help: remove the `iter` usages
161
161
|
162
162
LL - let l = iter.next().unwrap();
163
- LL +
164
163
|
165
164
help: remove the `iter` usages
166
165
|
167
166
LL - let r = iter.next().unwrap();
168
- LL +
169
167
|
170
168
171
169
error: manual implementation of `split_once`
@@ -185,12 +183,10 @@ LL | let (l, r) = "a.b.c".split_once('.')?;
185
183
help: remove the `iter` usages
186
184
|
187
185
LL - let l = iter.next()?;
188
- LL +
189
186
|
190
187
help: remove the `iter` usages
191
188
|
192
189
LL - let r = iter.next()?;
193
- LL +
194
190
|
195
191
196
192
error: manual implementation of `rsplit_once`
@@ -210,12 +206,10 @@ LL | let (l, r) = "a.b.c".rsplit_once('.').unwrap();
210
206
help: remove the `iter` usages
211
207
|
212
208
LL - let r = iter.next().unwrap();
213
- LL +
214
209
|
215
210
help: remove the `iter` usages
216
211
|
217
212
LL - let l = iter.next().unwrap();
218
- LL +
219
213
|
220
214
221
215
error: manual implementation of `rsplit_once`
@@ -235,12 +229,10 @@ LL | let (l, r) = "a.b.c".rsplit_once('.')?;
235
229
help: remove the `iter` usages
236
230
|
237
231
LL - let r = iter.next()?;
238
- LL +
239
232
|
240
233
help: remove the `iter` usages
241
234
|
242
235
LL - let l = iter.next()?;
243
- LL +
244
236
|
245
237
246
238
error: manual implementation of `split_once`
@@ -271,12 +263,10 @@ LL | let (a, b) = "a.b.c".split_once('.').unwrap();
271
263
help: remove the `iter` usages
272
264
|
273
265
LL - let a = iter.next().unwrap();
274
- LL +
275
266
|
276
267
help: remove the `iter` usages
277
268
|
278
269
LL - let b = iter.next().unwrap();
279
- LL +
280
270
|
281
271
282
272
error: aborting due to 19 previous errors
0 commit comments