diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-04-20 11:44:05 +0200 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-04-20 11:55:22 +0200 |
commit | 5994213a0f7b97a595442d4f15c4e040bcac2986 (patch) | |
tree | 7a747cbd1cc8bb0e6bf0e733c36ea7e19155654c /openpgp/src/parse.rs | |
parent | 0863c094dab930f72bcf72eec7a5a49d76d4d0a0 (diff) |
lint: Remove unnecessary trailing semicolons.
- rustc 1.51 has activated the redundant_semicolons lint.
https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#redundant-semicolons
Diffstat (limited to 'openpgp/src/parse.rs')
-rw-r--r-- | openpgp/src/parse.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openpgp/src/parse.rs b/openpgp/src/parse.rs index 48a731ca..cdf9fb19 100644 --- a/openpgp/src/parse.rs +++ b/openpgp/src/parse.rs @@ -2028,7 +2028,7 @@ fn one_pass_sig_test () { struct Test<'a> { filename: &'a str, digest_prefix: Vec<[u8; 2]>, - }; + } let tests = [ Test { @@ -2692,7 +2692,7 @@ fn skesk_parser_test() { cipher_algo: SymmetricAlgorithm, password: Password, key_hex: &'a str, - }; + } let tests = [ Test { @@ -6065,7 +6065,7 @@ mod test { message.finalize()?; } - struct Helper {}; + struct Helper {} impl VerificationHelper for Helper { fn get_certs(&mut self, _ids: &[KeyHandle]) -> Result<Vec<Cert>> { Ok(vec![Cert::from_bytes(crate::tests::key("testy-new.pgp"))?]) |