Correct the arguments

This commit is contained in:
Omar Abdulla
2025-07-22 14:37:02 +03:00
parent 0392b6b629
commit c81279fc8f
3 changed files with 2 additions and 16 deletions
-14
View File
@@ -3,7 +3,6 @@ use serde::Deserialize;
use crate::{
define_wrapper_type,
input::{Expected, Input},
metadata::AddressReplacementMap,
mode::Mode,
};
@@ -41,19 +40,6 @@ impl Case {
}
})
}
pub fn handle_address_replacement(
&mut self,
old_to_new_mapping: &mut AddressReplacementMap,
) -> anyhow::Result<()> {
for input in self.inputs.iter_mut() {
input.handle_address_replacement(old_to_new_mapping)?;
}
if let Some(ref mut expected) = self.expected {
expected.handle_address_replacement(old_to_new_mapping)?;
}
Ok(())
}
}
define_wrapper_type!(