diff options
Diffstat (limited to 'openpgp/src/types/bitfield.rs')
-rw-r--r-- | openpgp/src/types/bitfield.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/openpgp/src/types/bitfield.rs b/openpgp/src/types/bitfield.rs index 54468989..0b45d3ad 100644 --- a/openpgp/src/types/bitfield.rs +++ b/openpgp/src/types/bitfield.rs @@ -62,7 +62,7 @@ impl Bitfield { &self.raw } - /// Returns whether the specified keyserver preferences flag is set. + /// Returns whether the specified flag is set. pub fn get(&self, bit: usize) -> bool { let byte = bit / 8; @@ -83,7 +83,7 @@ impl Bitfield { self } - /// Sets the specified keyserver preferences flag. + /// Sets the specified flag. /// /// This also clears any padding (trailing NUL bytes). pub fn set(mut self, bit: usize) -> Self { @@ -96,7 +96,7 @@ impl Bitfield { self.clear_padding() } - /// Clears the specified keyserver preferences flag. + /// Clears the specified flag. /// /// This also clears any padding (trailing NUL bytes). pub fn clear(mut self, bit: usize) -> Self { @@ -108,4 +108,3 @@ impl Bitfield { self.clear_padding() } } - |