From 41b2e491234cda6435fec8f10779ef7936e8039a Mon Sep 17 00:00:00 2001 From: Lukas Wagner Date: Tue, 8 Aug 2023 10:01:53 +0200 Subject: [PATCH] clippy fix: deref on an immutable reference See: https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref Signed-off-by: Lukas Wagner --- proxmox-rest-server/src/rest.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-rest-server/src/rest.rs b/proxmox-rest-server/src/rest.rs index 252532a8..0ee9fabc 100644 --- a/proxmox-rest-server/src/rest.rs +++ b/proxmox-rest-server/src/rest.rs @@ -106,7 +106,7 @@ pub trait PeerAddress { // Pin> impl PeerAddress for Pin> { fn peer_addr(&self) -> Result { - T::peer_addr(&*self) + T::peer_addr(&**self) } }