diff --git a/src/stream/mod.rs b/src/stream/mod.rs index c6eee3d..46731bd 100644 --- a/src/stream/mod.rs +++ b/src/stream/mod.rs @@ -27,6 +27,8 @@ pub mod source; pub use sink::Sink; pub use source::Source; +//TODO: Stream: Wrapper over both Sink and Source? + #[cfg(test)] mod tests { diff --git a/src/stream/source.rs b/src/stream/source.rs index 384418f..583ca23 100644 --- a/src/stream/source.rs +++ b/src/stream/source.rs @@ -105,7 +105,10 @@ pub type DefaultBuffer = UseBufferInternal; #[cfg(feature="ad-hoc-buffer")] pub type DefaultBuffer = UseBufferExternal; -/// TODO: Document +/// ChaCha source. +/// En/decrypts information from the source reader. +/// +/// This is the `Read` implementing counterpart to `Sink`. //#[derive(Debug)] pub struct Source {