diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2023-07-18 16:49:30 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2023-07-18 17:06:52 +0200 |
commit | b00f92847d16fce7e5027ae926eb7700ee49bf5b (patch) | |
tree | 7209d6c02358b98ecdde22a9b3508f7ecd4c3dd2 /openpgp/src/types/bitfield.rs | |
parent | 7b453c91e484d3b61f9bd970d33bca47f0df0398 (diff) |
openpgp: Derive Default for Bitfield.
Diffstat (limited to 'openpgp/src/types/bitfield.rs')
-rw-r--r-- | openpgp/src/types/bitfield.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/types/bitfield.rs b/openpgp/src/types/bitfield.rs index 8f9098e6..313099fa 100644 --- a/openpgp/src/types/bitfield.rs +++ b/openpgp/src/types/bitfield.rs @@ -1,5 +1,5 @@ /// A bitfield. -#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[derive(Default, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] pub(crate) struct Bitfield { raw: Vec<u8>, } |