aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHristo Venev <hristo@venev.name>2020-02-04 20:32:06 +0100
committerHristo Venev <hristo@venev.name>2020-02-04 20:32:06 +0100
commita7cff9572d672d516569b4a55b4a0dbbeb3cb9e1 (patch)
tree27c548f2787ace926ed746da76dabe7e6bf4d4f7
parentc4f743e2a33ba39036f7e9919b7adc80415b1754 (diff)
Clippy.
-rw-r--r--src/manager/builder.rs2
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);