Skip to content

Commit

Permalink
fix(api/trap): Display as Display, not as Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
xdoardo committed Nov 22, 2024
1 parent 0776729 commit 126c121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/src/entities/trap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ impl RuntimeTrap {
impl std::fmt::Display for RuntimeTrap {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match_rt!(on self => s {
(s as &dyn std::fmt::Debug).fmt(f)
(s as &dyn std::fmt::Display).fmt(f)
})
}
}
Expand Down

0 comments on commit 126c121

Please sign in to comment.