2022-02-10 11:40:06 -06:00
|
|
|
error: unnecessary use of `splitn`
|
|
|
|
--> $DIR/ice-8250.rs:2:13
|
|
|
|
|
|
|
|
|
LL | let _ = s[1..].splitn(2, '.').next()?;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ help: try this: `s[1..].split('.')`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::needless-splitn` implied by `-D warnings`
|
|
|
|
|
2022-05-05 09:12:52 -05:00
|
|
|
error: aborting due to previous error
|
2022-02-10 11:40:06 -06:00
|
|
|
|