Remove Send bound from Decoder::new_* (#375)

This commit is contained in:
Alphyr 2021-06-21 23:00:05 +02:00 committed by GitHub
parent f6af938d8d
commit dfb4bd62b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ where
impl<R> Decoder<R>
where
R: Read + Seek + Send,
R: Read + Seek,
{
/// Builds a new decoder.
///
@ -130,7 +130,7 @@ where
impl<R> LoopedDecoder<R>
where
R: Read + Seek + Send,
R: Read + Seek,
{
fn new(decoder: Decoder<R>) -> LoopedDecoder<R> {
Self(decoder.0)