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/serialize/stream.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/serialize/stream.rs')
-rw-r--r-- | openpgp/src/serialize/stream.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/serialize/stream.rs b/openpgp/src/serialize/stream.rs index be67fd00..1b2195e5 100644 --- a/openpgp/src/serialize/stream.rs +++ b/openpgp/src/serialize/stream.rs @@ -3273,7 +3273,7 @@ mod test { struct Helper<'a> { policy: &'a dyn Policy, tsk: &'a Cert, - }; + } impl<'a> VerificationHelper for Helper<'a> { fn get_certs(&mut self, _ids: &[crate::KeyHandle]) -> Result<Vec<Cert>> { @@ -3492,7 +3492,7 @@ mod test { message.finalize()?; } - struct Helper {}; + struct Helper {} impl VerificationHelper for Helper { fn get_certs(&mut self, _ids: &[KeyHandle]) -> Result<Vec<Cert>> { |