]> git.ipfire.org Git - thirdparty/suricata.git/commit
rfb: use more idiomatic Rust code 4715/head
authorSascha Steinbiss <satta@debian.org>
Thu, 19 Mar 2020 18:19:56 +0000 (19:19 +0100)
committerVictor Julien <victor@inliniac.net>
Fri, 20 Mar 2020 12:37:52 +0000 (13:37 +0100)
commit26123e05f217596c58ec7a663455e34ba1eda582
treeeabab6544fe1f57fc8a2e7f1ed32bbd0ccb6aa11
parentb85539b2aba4cc95a2773b71da44821cd225b50a
rfb: use more idiomatic Rust code

Using 'if let Some()...' makes the code in these many checks more
concise and readable.
rust/src/rfb/rfb.rs