From b0d6627cbdbd9167376fac1b25e3b309141452d9 Mon Sep 17 00:00:00 2001 From: Raymon Zutekouw 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 } } }