diff options
Diffstat (limited to 'src/rom.rs')
-rw-r--r-- | src/rom.rs | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,5 @@ -use std::fmt; use crate::memory::Memory; +use std::fmt; pub struct Rom { array: [u8; u16::max_value() as usize + 1], @@ -86,7 +86,9 @@ impl HexLine { impl Rom { /// Empty constructor pub fn new() -> Self { - Self { array: [0; u16::max_value() as usize + 1] } + Self { + array: [0; u16::max_value() as usize + 1], + } } /// Constructor from hex |