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

Commit

Permalink
Use Debug format for backtrace in Display impl.
Browse files Browse the repository at this point in the history
Issue #279
  • Loading branch information
azriel91 committed Dec 12, 2018
1 parent c0e2b52 commit 8c3d6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backtrace/mod.rs
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 8c3d6a1

Please sign in to comment.