Skip to content

Commit

Permalink
fix(cast): fix to address reveal problem (#7254)
Browse files Browse the repository at this point in the history
  • Loading branch information
fenghaojiang authored Feb 28, 2024
1 parent 85b4872 commit 7969c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/common/src/fmt/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ type {}",
);

if let Some(to) = to {
pretty.push_str(&format!("\nto {}", to));
pretty.push_str(&format!("\nto {}", to.pretty()));
}

// additional captured fields
Expand Down

0 comments on commit 7969c70

Please sign in to comment.