mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'lemu/src/memory.rs')
-rw-r--r--lemu/src/memory.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/lemu/src/memory.rs b/lemu/src/memory.rs
index 561569c..63d5db9 100644
--- a/lemu/src/memory.rs
+++ b/lemu/src/memory.rs
@@ -49,8 +49,8 @@ pub struct Priv {
impl std::fmt::Debug for LAddress<'_> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
- Self::Const(c) => write!(f, "LAddress {c}"),
- Self::Address(n, ..) => write!(f, "LAddress {n:x}"),
+ Self::Const(c) => write!(f, "{c}"),
+ Self::Address(n, ..) => write!(f, "0x{n:x}"),
}
}
}