From e92fc82ee255877a354bbc3ef94574af475bd26a Mon Sep 17 00:00:00 2001 From: thealmarty <“thealmartyblog@gmail.com”> Date: Mon, 15 Apr 2024 12:42:34 -0700 Subject: [PATCH] Remove to_u8. --- machine/src/core.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/machine/src/core.rs b/machine/src/core.rs index 375cc97..2031f25 100644 --- a/machine/src/core.rs +++ b/machine/src/core.rs @@ -48,15 +48,6 @@ impl Word { } } -impl Word { - pub fn to_u8(self) -> u8 { - let result = self.0; - let byte = result[MEMORY_CELL_BYTES - 1]; - byte - } -} - - impl Into for Word { fn into(self) -> u32 { let mut result = 0u32;