diff options
Diffstat (limited to 'src/state.rs')
| -rw-r--r-- | src/state.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/state.rs b/src/state.rs index adf6a5b..8a6c332 100644 --- a/src/state.rs +++ b/src/state.rs @@ -1,12 +1,12 @@ -use std::collections::HashSet; use crate::mem::Memory; +use std::collections::HashSet; pub struct CpuState { pub memory: Memory, pub registers: [u32; 32], pub f_registers: [f32; 32], pub pc: u32, - pub reservations: HashSet<usize> + pub reservations: HashSet<usize>, } impl CpuState { @@ -16,7 +16,7 @@ impl CpuState { registers: [0u32; 32], f_registers: [0f32; 32], pc: 0, - reservations: HashSet::new() + reservations: HashSet::new(), } } @@ -30,4 +30,4 @@ impl CpuState { self.reservations.insert(*index); } } -}
\ No newline at end of file +} |
