clippy: Remove unnecessary use of .into()

This commit is contained in:
Ian Hobson
2023-05-12 16:52:06 +02:00
parent 6989520743
commit 566ad07247

View File

@@ -590,7 +590,7 @@ impl<R: Read + Seek> WaveReader<R> {
.map_err(|e| ParserError::IOError(e)) .map_err(|e| ParserError::IOError(e))
} }
Err(ParserError::ChunkMissing { signature: _ }) => Ok(0), Err(ParserError::ChunkMissing { signature: _ }) => Ok(0),
Err(any) => Err(any.into()), Err(any) => Err(any),
} }
} }