Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
error: accessing first element with `bytes.get(0)` --> src/parse.rs:265:8 | 265 | if bytes.get(0) == Some(&b'=') { | ^^^^^^^^^^^^ help: try: `bytes.first()` | = note: `-D clippy::get-first` implied by `-D clippy::all` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first error: accessing first element with `bytes.get(0)` --> src/parse.rs:267:15 | 267 | } else if bytes.get(0) == Some(&b'>') { | ^^^^^^^^^^^^ help: try: `bytes.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first error: accessing first element with `bytes.get(0)` --> src/parse.rs:273:15 | 273 | } else if bytes.get(0) == Some(&b'<') { | ^^^^^^^^^^^^ help: try: `bytes.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first error: accessing first element with `bytes.get(0)` --> src/parse.rs:279:15 | 279 | } else if bytes.get(0) == Some(&b'~') { | ^^^^^^^^^^^^ help: try: `bytes.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first error: accessing first element with `bytes.get(0)` --> src/parse.rs:281:15 | 281 | } else if bytes.get(0) == Some(&b'^') { | ^^^^^^^^^^^^ help: try: `bytes.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
- Loading branch information