diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-05-09 16:21:00 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-05-09 16:21:00 +0200 |
commit | 5a8a4b261f37f43a826dc5c900baa153006043fb (patch) | |
tree | 7b0ec56dba34e01a30f43784c3419e9e98cde0b3 | |
parent | 84267c1dc5ad6847852fe2eb98fd977ec48d0333 (diff) |
openpgp: Fix formatting.
-rw-r--r-- | openpgp/src/tpk/mod.rs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/openpgp/src/tpk/mod.rs b/openpgp/src/tpk/mod.rs index dbb29346..83af3e08 100644 --- a/openpgp/src/tpk/mod.rs +++ b/openpgp/src/tpk/mod.rs @@ -448,10 +448,11 @@ impl TPKValidator { const TRACE : bool = false; -/// Compare the creation time of two signatures. Order them so -/// that the more recent signature is first. -fn canonical_signature_order(a: Option<time::Tm>, b: Option<time::Tm>) -> Ordering { - match (a,b) { +/// Compare the creation time of two signatures. Order them so that +/// the more recent signature is first. +fn canonical_signature_order(a: Option<time::Tm>, b: Option<time::Tm>) + -> Ordering { + match (a, b) { (None, None) => Ordering::Equal, (None, Some(_)) => Ordering::Greater, (Some(_), None) => Ordering::Less, |