aboutsummaryrefslogtreecommitdiffstats
path: root/src/pipe.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/pipe.rs')
-rw-r--r--src/pipe.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pipe.rs b/src/pipe.rs
index 51f094a..45ada8b 100644
--- a/src/pipe.rs
+++ b/src/pipe.rs
@@ -17,7 +17,7 @@ pub struct Pipe {
impl Pipe {
/// Wrap the given sender in a `Pipe`.
pub fn new(destination: Sender<io::Result<Bytes>>) -> Self {
- Pipe {
+ Self {
dest: destination,
bytes: BytesMut::new(),
}