fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: unnecessary use of `splitn` 2 --> $DIR/ice-8250.rs:2:13 3 | 4LL | let _ = s[1..].splitn(2, '.').next()?; 5 | ^^^^^^^^^^^^^^^^^^^^^ help: try: `s[1..].split('.')` 6 | 7 = note: `-D clippy::needless-splitn` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::needless_splitn)]` 9 10error: aborting due to previous error 11