diff --git a/crates/iota-rust-sdk/src/types/object.rs b/crates/iota-rust-sdk/src/types/object.rs index 1c7c186..038ac75 100644 --- a/crates/iota-rust-sdk/src/types/object.rs +++ b/crates/iota-rust-sdk/src/types/object.rs @@ -642,9 +642,7 @@ mod serialization { }), ( ObjectType::Struct(type_), - ReadableObjectData::Move(ReadableMoveStruct { - contents, - }), + ReadableObjectData::Move(ReadableMoveStruct { contents }), ) => { // check id matches in contents if !id_opt(&contents).is_some_and(|id| id == object_id) { @@ -798,9 +796,7 @@ mod serialization { }), ( ObjectType::Struct(type_), - ReadableObjectData::Move(ReadableMoveStruct { - contents, - }), + ReadableObjectData::Move(ReadableMoveStruct { contents }), ) => { // check id matches in contents if !id_opt(&contents).is_some_and(|id| id == object_id) {