Skip to content

Commit

Permalink
fix build failure in no_std mode
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed Sep 12, 2019
1 parent e5d878c commit e999fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ impl EncodeError {

impl fmt::Display for EncodeError {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.write_str(error::Error::description(self))?;
f.write_str(&self.description)?;
write!(
f,
" (required: {}, remaining: {})",
Expand Down

0 comments on commit e999fb6

Please sign in to comment.