Skip to content
Snippets Groups Projects
Commit 11fe277c authored by Carl Lerche's avatar Carl Lerche
Browse files

Remove default for SliceBuf<T>

parent 57e84f26
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ use std::fmt; ...@@ -13,7 +13,7 @@ use std::fmt;
/// ///
/// This `Buf` is better suited for cases where there is a clear delineation /// This `Buf` is better suited for cases where there is a clear delineation
/// between reading and writing. /// between reading and writing.
pub struct SliceBuf<T = Box<[u8]>> { pub struct SliceBuf<T> {
// Contiguous memory // Contiguous memory
mem: T, mem: T,
// Current read position // Current read position
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment