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 613f28df05 rust: fix unnecessary_unwrap warnings
warning: called `unwrap` on `rd.pipe` after checking its variant with `is_some`
   --> src/smb/smb1.rs:858:28
    |
857 |             if rd.pipe.is_some() {
    |             -------------------- help: try: `if let Some(<item>) = rd.pipe`
858 |                 let pipe = rd.pipe.unwrap();
    |                            ^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#unnecessary_unwrap
    = note: `#[warn(clippy::unnecessary_unwrap)]` on by default

(cherry picked from commit 02cb0f2ac2)
3 months ago
..
.cargo rust: rename .cargo/config to .cargo/config.toml 2 years ago
derive rust/applayer: use c_int as return type for get_info_by_id 2 years ago
src rust: fix unnecessary_unwrap warnings 3 months ago
.gitignore rust: rename .cargo/config to .cargo/config.toml 2 years ago
Cargo.lock.in release: 7.0.14; update changelog 3 months ago
Cargo.toml.in rust: update flate2 to 1.0.35 4 months ago
Makefile.am rust: respect RUSTC and CARGO env vars like CC 7 months ago
cbindgen.toml ftp: add events for command too long 3 years ago
rustfmt.toml