diff --git a/src/mastersrv/src/main.rs b/src/mastersrv/src/main.rs index ca2d758cd..8bd9a9348 100644 --- a/src/mastersrv/src/main.rs +++ b/src/mastersrv/src/main.rs @@ -408,7 +408,7 @@ impl Servers { }); } hash_map::Entry::Occupied(mut o) => { - let mut server = &mut o.get_mut(); + let server = &mut o.get_mut(); if insert_addr { server.addresses.push(addr); server.addresses.sort_unstable();