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.
suricata/rust
Philippe Antoine f7cde8f00e rust/smb: fix clippy nightly warning
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
1 year ago
..
.cargo rust: fix vendor use on MinGW 6 years ago
derive detect/integer: rust derive for enumerations 2 years ago
src rust/smb: fix clippy nightly warning 1 year ago
.gitignore rust: bundle Cargo.lock 2 years ago
Cargo.lock.in rust: update parser dependencies 1 year ago
Cargo.toml.in rust: add MSRV as rust-version 1 year ago
Makefile.am rust: don't suppress vendor output 2 years ago
cbindgen.toml ftp: add events for command too long 3 years ago
rustfmt.toml rustfmt: replace deprecated fn_args_layout with fn_params_layout 2 years ago