mirror of
https://github.com/RustAudio/rodio
synced 2024-12-14 14:12:31 +00:00
Remove Send
bound from Decoder::new_*
(#375)
This commit is contained in:
parent
f6af938d8d
commit
dfb4bd62b9
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ where
|
||||||
|
|
||||||
impl<R> Decoder<R>
|
impl<R> Decoder<R>
|
||||||
where
|
where
|
||||||
R: Read + Seek + Send,
|
R: Read + Seek,
|
||||||
{
|
{
|
||||||
/// Builds a new decoder.
|
/// Builds a new decoder.
|
||||||
///
|
///
|
||||||
|
@ -130,7 +130,7 @@ where
|
||||||
|
|
||||||
impl<R> LoopedDecoder<R>
|
impl<R> LoopedDecoder<R>
|
||||||
where
|
where
|
||||||
R: Read + Seek + Send,
|
R: Read + Seek,
|
||||||
{
|
{
|
||||||
fn new(decoder: Decoder<R>) -> LoopedDecoder<R> {
|
fn new(decoder: Decoder<R>) -> LoopedDecoder<R> {
|
||||||
Self(decoder.0)
|
Self(decoder.0)
|
||||||
|
|
Loading…
Reference in a new issue