mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-03 01:39:28 +02:00
Fix clippy warnings
This commit is contained in:
parent
f5274f5ada
commit
7c3d89112d
11 changed files with 49 additions and 47 deletions
|
@ -110,7 +110,7 @@ impl<R: Read + Seek> AudioDecoder for PassthroughDecoder<R> {
|
|||
|
||||
fn next_packet(&mut self) -> Result<Option<AudioPacket>, AudioError> {
|
||||
// write headers if we are (re)starting
|
||||
if self.bos == false {
|
||||
if !self.bos {
|
||||
self.wtr
|
||||
.write_packet(
|
||||
self.ident.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue