diff options
Diffstat (limited to 'crates/nasm/src')
| -rw-r--r-- | crates/nasm/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/nasm/src/main.rs b/crates/nasm/src/main.rs index 7160137..e8f56f6 100644 --- a/crates/nasm/src/main.rs +++ b/crates/nasm/src/main.rs @@ -225,10 +225,10 @@ fn save_memory_stats(source: &SourceInfo, memory: &mut MemoryResult, has_working for mr in ranges { if mr.range.start + 1 == mr.range.end { - if let Err(e) = writeln!(file, "{}: {}", mr.range_to_human(), mr.name) { + if let Err(e) = writeln!(file, "{}: {}", mr.to_human(), mr.name) { return die(format!("could not write memory.txt file: {e}")); } - } else if let Err(e) = writeln!(file, "{}: {}", mr.range_to_human(), mr.name) { + } else if let Err(e) = writeln!(file, "{}: {}", mr.to_human(), mr.name) { return die(format!("could not write memory.txt file: {e}")); } } |
