Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rust-lang/rust-clippy#8366 error: writing `&mut Vec` instead of `&mut [_]` involves a new object where a slice will do --> src/read.rs:65:45 | 65 | fn parse_str<'s>(&'s mut self, scratch: &'s mut Vec<u8>) -> Result<Reference<'de, 's, str>>; | ^^^^^^^^^^^^^^^ help: change this to: `&'s mut [u8]` | = note: `-D clippy::ptr-arg` implied by `-D clippy::all` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg error: writing `&mut Vec` instead of `&mut [_]` involves a new object where a slice will do --> src/read.rs:76:18 | 76 | scratch: &'s mut Vec<u8>, | ^^^^^^^^^^^^^^^ help: change this to: `&'s mut [u8]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
- Loading branch information