mastersrv: Fix warning about unused mut

This commit is contained in:
heinrich5991 2024-07-01 21:57:07 +02:00
parent e0b62edb0b
commit 20d58e6edb

View file

@ -408,7 +408,7 @@ impl Servers {
}); });
} }
hash_map::Entry::Occupied(mut o) => { hash_map::Entry::Occupied(mut o) => {
let mut server = &mut o.get_mut(); let server = &mut o.get_mut();
if insert_addr { if insert_addr {
server.addresses.push(addr); server.addresses.push(addr);
server.addresses.sort_unstable(); server.addresses.sort_unstable();