aboutsummaryrefslogtreecommitdiff
path: root/src/buf/writer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/buf/writer.rs')
-rw-r--r--src/buf/writer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buf/writer.rs b/src/buf/writer.rs
index c946234..8b35707 100644
--- a/src/buf/writer.rs
+++ b/src/buf/writer.rs
@@ -13,7 +13,7 @@ pub struct Writer<B> {
}
pub fn new<B>(buf: B) -> Writer<B> {
- Writer { buf: buf }
+ Writer { buf }
}
impl<B: BufMut> Writer<B> {