diff options
| author | Nathan Lee <me@nwlee.tech> | 2026-06-10 22:27:34 -0500 |
|---|---|---|
| committer | Nathan Lee <me@nwlee.tech> | 2026-06-10 22:27:34 -0500 |
| commit | 0f4993d181bb4dd09a8f2613dd82f267b355fe7e (patch) | |
| tree | b213a68dd99c73360133e7c3d8ded4b87ed3a6b0 /src/state.rs | |
| parent | f94c087120bf2a241dda51d6311c565dd03b96be (diff) | |
chore: lint
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 +} |
