We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a63a3d commit fb8aca9Copy full SHA for fb8aca9
crates/starknet_os/src/test_utils/cairo_dict.rs
@@ -98,7 +98,7 @@ pub fn parse_contract_changes(
98
.into_iter()
99
.map(|item| item.unwrap().into_owned())
100
.collect();
101
- assert!(flat_outer_dict.len() % DICT_ACCESS_SIZE == 0, "Invalid outer dict length");
+ assert!(flat_outer_dict.len().is_multiple_of(DICT_ACCESS_SIZE), "Invalid outer dict length");
102
flat_outer_dict
103
.chunks_exact(DICT_ACCESS_SIZE)
104
.map(|chunk| {
0 commit comments