diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2023-07-03 12:38:26 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2023-07-18 17:06:52 +0200 |
commit | 3723a190585fec8573713ac2378001a442bb95b7 (patch) | |
tree | 0dc75f852ecd9abf41d909bfda0d392e7cd9745c /openpgp/src/types | |
parent | 68d52deb8bf7c3b50066a91ab4af9ab5ac74402b (diff) |
openpgp: Avoid bit twiddling.
Diffstat (limited to 'openpgp/src/types')
-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 f4e5893f..af05d24f 100644 --- a/openpgp/src/types/bitfield.rs +++ b/openpgp/src/types/bitfield.rs @@ -75,7 +75,7 @@ impl Bitfield { &self.raw } - /// Returns a slice containing the raw values. + /// Returns a mutable slice containing the raw values. pub fn as_bytes_mut(&mut self) -> &mut [u8] { &mut self.raw } |