From 2d81fe14067b634735678f0b9edd018057d05ad1 Mon Sep 17 00:00:00 2001 From: Raymon Zutekouw <40148684+Raymonzut@users.noreply.github.com> Date: Thu, 6 Jan 2022 21:44:53 +0100 Subject: [PATCH] Remove field value from MemCell - plans for a directly interpreted mblf mode have been scrapped - it's MBLF, not MBNF --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index fb6ec88..c89e9bc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -19,12 +19,11 @@ struct MblfParser; struct MemCell { address: u32, - value: u8, } impl MemCell { pub fn allocate(address: u32) -> Self { - Self { address, value: 0 } + Self { address } } }