Skip to content

Commit 0684981

Browse files
committed
Remove superflous .to_owned()
1 parent 27d0643 commit 0684981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ where
204204
};
205205
let method_call = MethodCall {
206206
jsonrpc: Some(Version::V2),
207-
method: method.to_owned(),
207+
method,
208208
params: serialized_params,
209209
id,
210210
};

0 commit comments

Comments
 (0)