Skip to content

Commit

Permalink
Add std::error::Error implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
robamler committed Jul 23, 2022
1 parent dc3fc0a commit a8c9e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/symbol/huffman.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ impl Display for NanError {
}
}

#[cfg(std)]
#[cfg(feature = "std")]
impl std::error::Error for NanError {}

#[cfg(test)]
Expand Down

0 comments on commit a8c9e99

Please sign in to comment.