summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-03-18 15:08:20 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-03-20 15:13:27 +0100
commit3d7d741b5d1afb98a359ab25ca1d0a959c29797f (patch)
tree456ffc91cd1e8bb57fd03fa9c583307b7d4513d9
parentb7885aca0468ff14c5910b7ce529368eee1d4a08 (diff)
openpgp: Update documentation.
-rw-r--r--openpgp/src/parse/parse.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/openpgp/src/parse/parse.rs b/openpgp/src/parse/parse.rs
index a6824bc1..5031e796 100644
--- a/openpgp/src/parse/parse.rs
+++ b/openpgp/src/parse/parse.rs
@@ -2987,15 +2987,14 @@ impl <'a> PacketParser<'a> {
&mut self.reader
}
- /// Marks the packet's contents (packet.common.body) as being
- /// decrypted (true) or encrypted (false).
+ /// Marks the packet's contents as being decrypted (true) or
+ /// encrypted (false).
fn set_decrypted(mut self, v: bool) -> Self {
self.decrypted = v;
self
}
- /// Returns whether the packet's contents (packet.common.body) are
- /// decrypted.
+ /// Returns whether the packet's contents are decrypted.
pub fn decrypted(&self) -> bool {
self.decrypted
}