Skip to content

Commit a24c005

Browse files
authored
Merge pull request #734 from renski-dev/master
cargo build fails without the "symphonia" feature flag, because try_seek can create a DecoderError::IoError.
2 parents aa75313 + 67399c9 commit a24c005

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/decoder/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,6 @@ impl fmt::Display for DecoderError {
780780
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
781781
let text = match self {
782782
DecoderError::UnrecognizedFormat => "Unrecognized format",
783-
#[cfg(feature = "symphonia")]
784783
DecoderError::IoError(msg) => &msg[..],
785784
#[cfg(feature = "symphonia")]
786785
DecoderError::DecodeError(msg) => msg,

0 commit comments

Comments
 (0)