Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
hecmas committed Dec 20, 2024
1 parent 791e37f commit cd4f409
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
7 changes: 2 additions & 5 deletions state-machines/mem/src/input_data_sm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,8 @@ impl<F: PrimeField> InputDataSM<F> {
pub fn new(wcm: Arc<WitnessManager<F>>, std: Arc<Std<F>>) -> Arc<Self> {
let pctx = wcm.get_pctx();
let air = pctx.pilout.get_air(ZISK_AIRGROUP_ID, INPUT_DATA_AIR_IDS[0]);
let input_data_sm = Self {
wcm: wcm.clone(),
std: std.clone(),
registered_predecessors: AtomicU32::new(0),
};
let input_data_sm =
Self { wcm: wcm.clone(), std: std.clone(), registered_predecessors: AtomicU32::new(0) };
let input_data_sm = Arc::new(input_data_sm);

wcm.register_component(
Expand Down
7 changes: 2 additions & 5 deletions state-machines/mem/src/rom_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,8 @@ impl<F: PrimeField> RomDataSM<F> {
pub fn new(wcm: Arc<WitnessManager<F>>, std: Arc<Std<F>>) -> Arc<Self> {
let pctx = wcm.get_pctx();
let air = pctx.pilout.get_air(ZISK_AIRGROUP_ID, ROM_DATA_AIR_IDS[0]);
let rom_data_sm = Self {
wcm: wcm.clone(),
std: std.clone(),
registered_predecessors: AtomicU32::new(0),
};
let rom_data_sm =
Self { wcm: wcm.clone(), std: std.clone(), registered_predecessors: AtomicU32::new(0) };
let rom_data_sm = Arc::new(rom_data_sm);

wcm.register_component(rom_data_sm.clone(), Some(ZISK_AIRGROUP_ID), Some(ROM_DATA_AIR_IDS));
Expand Down

0 comments on commit cd4f409

Please sign in to comment.