Skip to content

Commit 88af277

Browse files
authored
fix clippy warns (#29)
1 parent 036abd8 commit 88af277

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

rust/src/contract_interface.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,9 +1903,7 @@ pub mod encoding {
19031903
.map(|s| <<T as EncodingAdapter>::SelfEncoder>::deserialize(s.as_ref()))
19041904
.transpose()?;
19051905
let delta = delta
1906-
.map(|d| {
1907-
<<T as EncodingAdapter>::DeltaEncoder>::deserialize(d.as_ref()).map(Into::into)
1908-
})
1906+
.map(|d| <<T as EncodingAdapter>::DeltaEncoder>::deserialize(d.as_ref()))
19091907
.transpose()?;
19101908
let typed_update = TypedUpdateData::try_from((state, delta))?;
19111909
match typed_state.merge(&typed_params, typed_update, &related_container) {

0 commit comments

Comments
 (0)