1error: unnecessary use of `splitn`
2 --> $DIR/ice-8250.rs:2:13
3 |
4LL | let _ = s[1..].splitn(2, '.').next()?;
5 | ^^^^^^^^^^^^^^^^^^^^^ help: try this: `s[1..].split('.')`
6 |
7 = note: `-D clippy::needless-splitn` implied by `-D warnings`
8
9error: aborting due to previous error
10
11