Skip to content

Commit

Permalink
Improve textual notation of Call targets.
Browse files Browse the repository at this point in the history
  • Loading branch information
vext01 committed Mar 13, 2020
1 parent 141aa78 commit 23232b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ykpack/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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, "<unknown>"),
}
}
}
Expand Down

0 comments on commit 23232b5

Please sign in to comment.