From 1feb9b209b4b5d9fa152722427762dc062276229 Mon Sep 17 00:00:00 2001 From: Avril Date: Fri, 13 Aug 2021 16:12:54 +0100 Subject: [PATCH] Added basic docs to `Source`. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fortune for chacha20stream's current commit: Middle blessing − 中吉 --- src/stream/source.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 {