fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
373 B11 linesraw
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