From 896575842119a5e2779309edea4f9b4141126825 Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Fri, 17 Feb 2023 10:22:08 +0100 Subject: [PATCH] bitcoind: fix a clippy warning about lifetime ellision --- src/bitcoin/d/mod.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/bitcoin/d/mod.rs b/src/bitcoin/d/mod.rs index 311fbb2b..27494502 100644 --- a/src/bitcoin/d/mod.rs +++ b/src/bitcoin/d/mod.rs @@ -343,11 +343,11 @@ impl BitcoinD { } } - fn make_request_inner<'a, 'b>( + fn make_request_inner( &self, client: &Client, - method: &'a str, - params: &'b [Box], + method: &str, + params: &[Box], retry: bool, ) -> Result { let req = client.build_request(method, params); @@ -358,11 +358,11 @@ impl BitcoinD { } } - fn make_request<'a, 'b>( + fn make_request( &self, client: &Client, - method: &'a str, - params: &'b [Box], + method: &str, + params: &[Box], ) -> Result { self.make_request_inner(client, method, params, true) }