1 error: called `.byte().nth()` on a `String`
2 --> $DIR/bytes_nth.rs:8:5
5 | ^^^^^^^^^^^^^^^^ help: try: `s.as_bytes().get(3)`
7 = note: `-D clippy::bytes-nth` implied by `-D warnings`
9 error: called `.byte().nth()` on a `String`
10 --> $DIR/bytes_nth.rs:9:6
12 LL | &s.bytes().nth(3);
13 | ^^^^^^^^^^^^^^^^ help: try: `s.as_bytes().get(3)`
15 error: called `.byte().nth()` on a `str`
16 --> $DIR/bytes_nth.rs:10:5
18 LL | s[..].bytes().nth(3);
19 | ^^^^^^^^^^^^^^^^^^^^ help: try: `s[..].as_bytes().get(3)`
21 error: aborting due to 3 previous errors