mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-26 00:00:20 +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
|
/// 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
|
||||||
|
|||||||
Reference in New Issue
Block a user