diff options
author | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2020-05-06 14:37:01 +0200 |
---|---|---|
committer | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2020-05-30 22:29:47 +0200 |
commit | 09f30c446541acee77f18d365cbdbb970dd82543 (patch) | |
tree | b0423629d4439b25e3bbcbccf2443f3d9acc1dda | |
parent | f939eeacad67602fa3236cc5ff64cfe9421f85d0 (diff) |
openpgp: Derive Debug for RevocationType.
- Allow RevocationType to be used in unit tests.
-rw-r--r-- | openpgp/src/types/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/types/mod.rs b/openpgp/src/types/mod.rs index 2596159a..7a8e075a 100644 --- a/openpgp/src/types/mod.rs +++ b/openpgp/src/types/mod.rs @@ -1096,7 +1096,7 @@ impl Arbitrary for ReasonForRevocation { /// should be considered invalid *after* the revocation signature's /// creation time. `KeySuperseded`, `KeyRetired`, and `UIDRetired` /// are considered soft revocations. -#[derive(Clone, Copy, PartialEq, Eq)] +#[derive(Clone, Copy, Debug, PartialEq, Eq)] pub enum RevocationType { /// A hard revocation. /// |