1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-04 18:29:45 +02:00

Use futures::sync::mpsc::UnboundedSender::unbounded_send() instead of the deprecated send()

This commit is contained in:
Thomas Bächler 2018-01-21 20:38:30 +01:00
parent 5237203899
commit 630de8c0a9
6 changed files with 13 additions and 13 deletions

View file

@ -340,7 +340,7 @@ impl Seek for AudioFileStreaming {
// Notify the fetch thread to get the correct block
// This can fail if fetch thread has completed, in which case the
// block is ready. Just ignore the error.
let _ = self.seek.send(self.position);
let _ = self.seek.unbounded_send(self.position);
Ok(self.position)
}
}