diff options
author | Hristo Venev <hristo@venev.name> | 2020-02-04 20:32:06 +0100 |
---|---|---|
committer | Hristo Venev <hristo@venev.name> | 2020-02-04 20:32:06 +0100 |
commit | a7cff9572d672d516569b4a55b4a0dbbeb3cb9e1 (patch) | |
tree | 27c548f2787ace926ed746da76dabe7e6bf4d4f7 /src/manager/builder.rs | |
parent | c4f743e2a33ba39036f7e9919b7adc80415b1754 (diff) |
Clippy.
Diffstat (limited to 'src/manager/builder.rs')
-rw-r--r-- | src/manager/builder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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); |