Skip to content

Commit c74735b

Browse files
jfuechslcreativcoder
authored andcommitted
Fix typo in feature name for xz codec.
1 parent c60f376 commit c74735b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ impl std::convert::TryFrom<&str> for Codec {
265265
"zstd" => Ok(Codec::Zstd),
266266
#[cfg(feature = "bzip2")]
267267
"bzip2" => Ok(Codec::Bzip2),
268-
#[cfg(feature = "bzip2")]
268+
#[cfg(feature = "xz")]
269269
"xz" => Ok(Codec::Xz),
270270
o => Err(AvrowErr::UnsupportedCodec(o.to_string())),
271271
}

0 commit comments

Comments
 (0)