mirror of https://github.com/OISF/suricata
rust: fix single_match
warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` --> src/http2/parser.rs:882:17 | 882 | / match ctx.value { 883 | | Some(_) => { 884 | | panic!("Unexpected value"); 885 | | } 886 | | None => {} 887 | | } | |_________________^pull/10167/head
parent
9a84681bd9
commit
b141eb9f11
Loading…
Reference in New Issue