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: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> src/dns/log.rs:371:29
|
371 | pub fn dns_print_addr(addr: &Vec<u8>) -> std::string::String {
| ^^^^^^^^ help: change this to: `&[u8]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
|
3 years ago | |
|---|---|---|
| .. | ||
| .cargo | 7 years ago | |
| derive | 3 years ago | |
| src | 3 years ago | |
| .gitignore | 4 years ago | |
| Cargo.lock.in | 3 years ago | |
| Cargo.toml.in | 3 years ago | |
| Makefile.am | 4 years ago | |
| cbindgen.toml | 4 years ago | |
| rustfmt.toml | 3 years ago | |