1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

clippy fixes

This commit is contained in:
Robin Appelman 2023-05-04 18:53:38 +02:00
commit abe04b52d0
12 changed files with 101 additions and 104 deletions

View file

@ -91,7 +91,7 @@ impl ActiveInstances {
}
pub fn last(&self) -> Option<SocketAddr> {
self.last.lock().unwrap().clone()
*self.last.lock().unwrap()
}
async fn update_last(&self) {