From 23232b5be169998534544cb0adbbc468bea9b470 Mon Sep 17 00:00:00 2001 From: Edd Barrett Date: Fri, 13 Mar 2020 15:50:33 +0000 Subject: [PATCH] Improve textual notation of Call targets. --- ykpack/src/types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ykpack/src/types.rs b/ykpack/src/types.rs index c511f0cc5..00cf0a140 100644 --- a/ykpack/src/types.rs +++ b/ykpack/src/types.rs @@ -354,8 +354,8 @@ pub enum CallOperand { impl Display for CallOperand { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { match self { - CallOperand::Fn(sym_name) => write!(f, "sym_name={}", sym_name), - CallOperand::Unknown => write!(f, "unknown"), + CallOperand::Fn(sym_name) => write!(f, "{}", sym_name), + CallOperand::Unknown => write!(f, ""), } } }