aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexandre Bury <alexandre.bury@gmail.com>2019-06-24 01:05:52 +0000
committerAlexandre Bury <alexandre.bury@gmail.com>2019-06-24 01:05:52 +0000
commit399929d8ef0f8c25ffec08d0b025cb05d70aa520 (patch)
tree5deb0873f70767706eee206ab38bfa0873b6e410 /src
parentAdd doc and comments (diff)
downloadminiserve-399929d8ef0f8c25ffec08d0b025cb05d70aa520.tar.gz
miniserve-399929d8ef0f8c25ffec08d0b025cb05d70aa520.zip
Add module documentation on src/pipe.r
Diffstat (limited to 'src')
-rw-r--r--src/pipe.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pipe.rs b/src/pipe.rs
index 2fd9fac..09ca580 100644
--- a/src/pipe.rs
+++ b/src/pipe.rs
@@ -1,3 +1,4 @@
+//! Define an adapter to implement `std::io::Write` on `Sender<Bytes>`.
use bytes::{Bytes, BytesMut};
use futures::sink::{Sink, Wait};
use futures::sync::mpsc::Sender;