Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Jan 14, 2025
1 parent 8d83b5b commit 3a5b2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ impl Display for Expression<'_> {
then,
otherwise,
} => {
if let Self::Conditional { .. } = otherwise.as_ref() {
if let Self::Conditional { .. } = **otherwise {
write!(f, "if {condition} {{ {then} }} else {otherwise}")
} else {
write!(f, "if {condition} {{ {then} }} else {{ {otherwise} }}")
Expand Down

0 comments on commit 3a5b2a9

Please sign in to comment.