2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 11:21:24 +00:00

Remove unused From

This commit is contained in:
asonix 2024-02-22 18:23:39 -06:00
parent 3470a6caf0
commit d73e683d48

View file

@ -143,11 +143,3 @@ impl AsyncRead for BytesReader {
Poll::Ready(Ok(())) Poll::Ready(Ok(()))
} }
} }
impl From<Bytes> for BytesStream {
fn from(value: Bytes) -> Self {
let mut bs = BytesStream::new();
bs.add_bytes(value);
bs
}
}