From cc346249b568efd438977e1f10d8272408343df2 Mon Sep 17 00:00:00 2001 From: jiang Date: Wed, 28 Feb 2024 11:31:37 +0800 Subject: [PATCH] fix(cast): fix to address reveal problem --- crates/common/src/fmt/ui.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/common/src/fmt/ui.rs b/crates/common/src/fmt/ui.rs index 4c21328cea88..5549f36abc5f 100644 --- a/crates/common/src/fmt/ui.rs +++ b/crates/common/src/fmt/ui.rs @@ -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