diff --git a/src/bytebuf.rs b/src/bytebuf.rs index 135727b..8dbb769 100644 --- a/src/bytebuf.rs +++ b/src/bytebuf.rs @@ -133,7 +133,7 @@ impl BorrowMut for ByteBuf { impl From> for ByteBuf { fn from(bytes: Vec) -> Self { - ByteBuf { bytes: bytes } + ByteBuf { bytes } } }