diff options
Diffstat (limited to 'openpgp/src/packet/header/ctb.rs')
-rw-r--r-- | openpgp/src/packet/header/ctb.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openpgp/src/packet/header/ctb.rs b/openpgp/src/packet/header/ctb.rs index eabfce0e..5c90ee8c 100644 --- a/openpgp/src/packet/header/ctb.rs +++ b/openpgp/src/packet/header/ctb.rs @@ -41,7 +41,7 @@ impl CTBNew { pub fn new(tag: Tag) -> Self { CTBNew { common: CTBCommon { - tag: tag, + tag, }, } } @@ -153,9 +153,9 @@ impl CTBOld { }; Ok(CTBOld { common: CTBCommon { - tag: tag, + tag, }, - length_type: length_type, + length_type, }) } |