mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-12 00:00:14 +02:00
Remove default for SliceBuf<T>
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user