From d73e683d4872408b26c3dc14ca3ff5b9f0ac870a Mon Sep 17 00:00:00 2001 From: asonix Date: Thu, 22 Feb 2024 18:23:39 -0600 Subject: [PATCH] Remove unused From --- src/bytes_stream.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/bytes_stream.rs b/src/bytes_stream.rs index 1e88704..df1ba8c 100644 --- a/src/bytes_stream.rs +++ b/src/bytes_stream.rs @@ -143,11 +143,3 @@ impl AsyncRead for BytesReader { Poll::Ready(Ok(())) } } - -impl From for BytesStream { - fn from(value: Bytes) -> Self { - let mut bs = BytesStream::new(); - bs.add_bytes(value); - bs - } -}