From 706a3b4ac46edd3adc344ecb263cb5d2a4a057a3 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 21 Feb 2022 12:04:09 +0100 Subject: Formatting & clippy --- src/client.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client.rs') diff --git a/src/client.rs b/src/client.rs index e2d5d84..62f876b 100644 --- a/src/client.rs +++ b/src/client.rs @@ -1,8 +1,8 @@ +use std::borrow::Borrow; use std::collections::HashMap; use std::net::SocketAddr; use std::sync::atomic::{self, AtomicU32}; use std::sync::{Arc, Mutex}; -use std::borrow::Borrow; use arc_swap::ArcSwapOption; use log::{debug, error, trace}; @@ -120,10 +120,10 @@ impl ClientConn { self.query_send.store(None); } - pub(crate) async fn call<'a, T, B>( + pub(crate) async fn call( self: Arc, rq: B, - path: &'a str, + path: &str, prio: RequestPriority, ) -> Result<::Response, Error> where -- cgit v1.2.3