summaryrefslogtreecommitdiffstats
path: root/openpgp/src/serialize
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-03-18 17:27:52 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-03-18 17:29:36 +0100
commit034e79ab839b17476110fb72f0a5f9c70a9b612f (patch)
treead2274eb00b073cbb49769cf2c053c99fa13aa5e /openpgp/src/serialize
parent9abd0741fe227e27dca2892e855c5ee3a89e38c9 (diff)
openpgp: Fix documentation.
Diffstat (limited to 'openpgp/src/serialize')
-rw-r--r--openpgp/src/serialize/stream.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/openpgp/src/serialize/stream.rs b/openpgp/src/serialize/stream.rs
index 84072059..e058e1d7 100644
--- a/openpgp/src/serialize/stream.rs
+++ b/openpgp/src/serialize/stream.rs
@@ -789,13 +789,7 @@ impl<'a> Compressor<'a> {
self
}
- /// Finalizes the literal writer, returning the writer stack.
- ///
- /// `format`, `filename`, and `date` will be emitted as part of
- /// the literal packets headers. Note that these headers will not
- /// be authenticated by signatures (but will be authenticated by a
- /// SEIP/MDC container), and are therefore unreliable and should
- /// not be trusted.
+ /// Finalizes the compressor, returning the writer stack.
pub fn build(mut self) -> Result<writer::Stack<'a, Cookie>> {
let level = self.inner.cookie_ref().level + 1;