mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
error: unnecessary use of `to_vec`
--> src/smb/smb.rs:1048:62
|
1048 | let (name, is_dcerpc) = match self.guid2name_map.get(&guid.to_vec()) {
| ^^^^^^^^^^^^^^ help: replace it with: `guid`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned
= note: `#[deny(clippy::unnecessary_to_owned)]` implied by `#[deny(warnings)]`
And also other uses of to_vec() on already Vec
|
2 years ago | |
|---|---|---|
| .. | ||
| .cargo | ||
| derive | ||
| src | 2 years ago | |
| .gitignore | ||
| Cargo.lock.in | ||
| Cargo.toml.in | 2 years ago | |
| Makefile.am | ||
| cbindgen.toml | ||
| rustfmt.toml | ||