diff options
author | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2021-04-09 12:18:55 +0200 |
---|---|---|
committer | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2021-04-09 12:18:55 +0200 |
commit | eb0a1fc2de43c5d9213ea89c4d42c9d0dc2f592d (patch) | |
tree | 1e358c6449bfa70cb43752e1db1363f63faabfe8 | |
parent | 6432f9dd143e10bb1475df059d9f275981010fad (diff) |
openpgp, sq: Remove redundant semicolons.
- Compiling with 1.51 toolchains prints warnings about redundant
semicolons. Remove them.
-rw-r--r-- | openpgp/src/cert.rs | 4 | ||||
-rw-r--r-- | sq/src/commands/sign.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/openpgp/src/cert.rs b/openpgp/src/cert.rs index ebdf06c2..093c0480 100644 --- a/openpgp/src/cert.rs +++ b/openpgp/src/cert.rs @@ -2390,7 +2390,7 @@ impl Cert { } } acc.push(p); - }; + } /// Replaces or pushes a signature. /// @@ -2411,7 +2411,7 @@ impl Cert { } } acc.push(sig.into()); - }; + } for p in packets { let p = p.into(); diff --git a/sq/src/commands/sign.rs b/sq/src/commands/sign.rs index 6911ac65..1243b886 100644 --- a/sq/src/commands/sign.rs +++ b/sq/src/commands/sign.rs @@ -199,7 +199,7 @@ fn sign_message_(config: Config, signature_count: isize, }, Done, - }; + } let mut state = if ! notarize { State::InFirstSigGroup |