Skip to content

Commit c8d995e

Browse files
committed
fix clippy
1 parent 9d7cba8 commit c8d995e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chain-extensions/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ where
568568
.ext()
569569
.caller()
570570
.account_id()
571-
.map(|id| id.clone())
571+
.cloned()
572572
.map_err(|_| DispatchError::Other("Failed to get caller"))
573573
}
574574
}

0 commit comments

Comments
 (0)