Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 9dd12f9

Browse files
author
Thomas Scholtes
authored
Remove unecessary &mut in call argument (#6540)
1 parent fd55c45 commit 9dd12f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

primitives/api/proc-macro/src/impl_runtime_apis.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ fn generate_impl_call(
8383
let (#( #pnames ),*) : ( #( #ptypes ),* ) =
8484
match #c::DecodeLimit::decode_all_with_depth_limit(
8585
#c::MAX_EXTRINSIC_DEPTH,
86-
&mut #input,
86+
&#input,
8787
) {
8888
Ok(res) => res,
8989
Err(e) => panic!("Bad input data provided to {}: {}", #fn_name_str, e.what()),

0 commit comments

Comments
 (0)