From 11fe277c0d14727cc67edafc323835f7c86ffa1b Mon Sep 17 00:00:00 2001 From: Carl Lerche <me@carllerche.com> Date: Wed, 2 Nov 2016 14:31:44 -0700 Subject: [PATCH] Remove default for SliceBuf<T> --- src/buf/slice.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buf/slice.rs b/src/buf/slice.rs index eee4e14..bb6c1c4 100644 --- a/src/buf/slice.rs +++ b/src/buf/slice.rs @@ -13,7 +13,7 @@ use std::fmt; /// /// This `Buf` is better suited for cases where there is a clear delineation /// between reading and writing. -pub struct SliceBuf<T = Box<[u8]>> { +pub struct SliceBuf<T> { // Contiguous memory mem: T, // Current read position -- GitLab