Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Commit

Permalink
Bumped backtrace minimum version an use Debug formatter.
Browse files Browse the repository at this point in the history
See #279
  • Loading branch information
azriel91 committed Dec 11, 2018
1 parent c0e2b52 commit 392fde7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ path = "./failure_derive"

[dependencies.backtrace]
optional = true
version = "0.3.3"
version = "0.3.11"

[workspace]
members = [".", "failure_derive"]
Expand Down
2 changes: 1 addition & 1 deletion src/backtrace/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ with_backtrace! {
impl Display for Backtrace {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
if let Some(bt) = self.internal.as_backtrace() {
Display::fmt(bt, f)
Debug::fmt(bt, f)
} else { Ok(()) }
}
}
Expand Down

0 comments on commit 392fde7

Please sign in to comment.