clippy: Remove unnecessary use of .into()

This commit is contained in:
Ian Hobson committed 2023-05-19 10:57:39 +02:00
1 parent 6989520743
commit 566ad07247
1 file changed
+1 -1
+1 -1
View File
@@ -590,7 +590,7 @@ impl<R: Read + Seek> WaveReader<R> {
.map_err(|e| ParserError::IOError(e))
}
Err(ParserError::ChunkMissing { signature: _ }) => Ok(0),
Err(any) => Err(any.into()),
Err(any) => Err(any),
}
}