mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-04 16:49:41 +00:00
Remove unused From
This commit is contained in:
parent
3470a6caf0
commit
d73e683d48
1 changed files with 0 additions and 8 deletions
|
@ -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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue