Skip to content

Commit

Permalink
Merge pull request #17 from fasterthanlime/amos/cfg-feature
Browse files Browse the repository at this point in the history
Use cfg(feature), not cfg(features)
  • Loading branch information
OrKoN committed Nov 8, 2020
2 parents 8018fec + 016912a commit 36d3b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl fmt::Display for DecodeError {
}
}

#[cfg(features = "std")]
#[cfg(feature = "std")]
impl std::error::Error for DecodeError {
fn description(&self) -> &str {
"Can not decode the provided data"
Expand Down

0 comments on commit 36d3b33

Please sign in to comment.