Skip to content

Commit

Permalink
refacto(frame): change Display impl to be more idiomatic
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-nw committed Jan 2, 2024
1 parent 56ad14b commit 784511c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frame/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl FunctionCode {

impl Display for FunctionCode {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "{}", self.value())
self.value().fmt(f)
}
}

Expand Down

0 comments on commit 784511c

Please sign in to comment.