From a7cff9572d672d516569b4a55b4a0dbbeb3cb9e1 Mon Sep 17 00:00:00 2001 From: Hristo Venev Date: Tue, 4 Feb 2020 20:32:06 +0100 Subject: Clippy. --- src/manager/builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manager/builder.rs b/src/manager/builder.rs index 6ee71f2..4f0e667 100644 --- a/src/manager/builder.rs +++ b/src/manager/builder.rs @@ -98,7 +98,7 @@ impl<'a> ConfigBuilder<'a> { #[inline] pub fn add_road_warrior(&mut self, src: &Source, p: &proto::RoadWarrior) { - let psk = match find_psk(&self.gc, src, &p.peer) { + let psk = match find_psk(self.gc, src, &p.peer) { Ok(v) => v, Err(e) => { self.err.push(e); -- cgit