diff options
Diffstat (limited to 'src/client.rs')
-rw-r--r-- | src/client.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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<T, B>( self: Arc<Self>, rq: B, - path: &'a str, + path: &str, prio: RequestPriority, ) -> Result<<T as Message>::Response, Error> where |