Fix clippy (#285)

This commit is contained in:
Douman
2019-08-27 14:19:44 -07:00
committed by Carl Lerche
parent ae9991f3ba
commit 4f5ed82b3c
8 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -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> {