diff --git a/iota-execution/latest/iota-adapter/src/programmable_transactions/context.rs b/iota-execution/latest/iota-adapter/src/programmable_transactions/context.rs index 73abed4d94d..3e9f81459bf 100644 --- a/iota-execution/latest/iota-adapter/src/programmable_transactions/context.rs +++ b/iota-execution/latest/iota-adapter/src/programmable_transactions/context.rs @@ -1351,9 +1351,7 @@ mod checked { object_value: ObjectValue, ) -> Result<(), ExecutionError> { let ObjectValue { - type_, - contents, - .. + type_, contents, .. } = object_value; let bytes = match contents { ObjectContents::Coin(coin) => coin.to_bcs_bytes(), diff --git a/iota-execution/latest/iota-move-natives/src/test_scenario.rs b/iota-execution/latest/iota-move-natives/src/test_scenario.rs index d0e77e07156..886566ce583 100644 --- a/iota-execution/latest/iota-move-natives/src/test_scenario.rs +++ b/iota-execution/latest/iota-move-natives/src/test_scenario.rs @@ -612,12 +612,7 @@ pub fn allocate_receiving_ticket_for_object( )); }; let move_object = unsafe { - MoveObject::new_from_execution_with_limit( - tag.into(), - object_version, - bytes, - 250 * 1024, - ) + MoveObject::new_from_execution_with_limit(tag.into(), object_version, bytes, 250 * 1024) } .unwrap(); diff --git a/iota-execution/v0/iota-move-natives/src/test_scenario.rs b/iota-execution/v0/iota-move-natives/src/test_scenario.rs index d0e77e07156..886566ce583 100644 --- a/iota-execution/v0/iota-move-natives/src/test_scenario.rs +++ b/iota-execution/v0/iota-move-natives/src/test_scenario.rs @@ -612,12 +612,7 @@ pub fn allocate_receiving_ticket_for_object( )); }; let move_object = unsafe { - MoveObject::new_from_execution_with_limit( - tag.into(), - object_version, - bytes, - 250 * 1024, - ) + MoveObject::new_from_execution_with_limit(tag.into(), object_version, bytes, 250 * 1024) } .unwrap();