Use hexadecimal encoding for TRAP labels

This commit is contained in:
Nick Rolfe
2021-06-17 16:16:32 +01:00
parent ed93233917
commit ab72b4e9e7

View File

@@ -756,7 +756,7 @@ struct Label(u32);
impl fmt::Display for Label {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "#{}", self.0)
write!(f, "#{:x}", self.0)
}
}