summaryrefslogtreecommitdiffstats
path: root/openpgp/src/serialize/stream.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-04-20 13:23:56 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-04-20 18:43:42 +0200
commit3c9aa9d2fc1a4c3a15f7efb763ca8b9eeaddf69d (patch)
tree6a5cf6d9fff09fc4170922817e01508d4cdafd79 /openpgp/src/serialize/stream.rs
parent468302d54bc42fac510f9dce0cbd46f609b84ed7 (diff)
openpgp: Fix documentation.
Diffstat (limited to 'openpgp/src/serialize/stream.rs')
-rw-r--r--openpgp/src/serialize/stream.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/openpgp/src/serialize/stream.rs b/openpgp/src/serialize/stream.rs
index 5ebb7b37..4e1fe13c 100644
--- a/openpgp/src/serialize/stream.rs
+++ b/openpgp/src/serialize/stream.rs
@@ -8,11 +8,11 @@
//!
//! [Section 11.3 of RFC 4880]: https://tools.ietf.org/html/rfc4880#section-11.3
//!
-//! To use this interface, a sink implementing [`io::Write`] is wrapped
-//! by [`Message::new`] returning an [`writer::Stack`]. The writer
-//! stack is a structure to compose filters that create the desired
-//! message structure. There are a number of filters that can be
-//! freely combined:
+//! To use this interface, a sink implementing [`io::Write`] is
+//! wrapped by [`Message::new`] returning a streaming [`Message`].
+//! The writer stack is a structure to compose filters that create the
+//! desired message structure. There are a number of filters that can
+//! be freely combined:
//!
//! - [`Encryptor`] encrypts data fed into it,
//! - [`Compressor`] compresses data,
@@ -25,7 +25,7 @@
//!
//! [`io::Write`]: https://doc.rust-lang.org/nightly/std/io/trait.Write.html
//! [`Message::new`]: struct.Message.html#method.new
-//! [`writer::Stack`]: ../writer/struct.Stack.html
+//! [`Message`]: struct.Message.html
//! [`Encryptor`]: struct.Encryptor.html
//! [`Compressor`]: struct.Compressor.html
//! [`Padder`]: padding/struct.Padder.html