1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-31 00:50:20 +02:00

clippy warnings

This commit is contained in:
Nikolay Kim
2018-10-01 21:16:56 -07:00
parent e4686f6c8d
commit 127af92541
18 changed files with 46 additions and 49 deletions

View File

@@ -216,7 +216,7 @@ impl<H> WorkerSettings<H> {
fn update_date(&self) {
// Unsafe: WorkerSetting is !Sync and !Send
unsafe { (&mut *self.0.date.get()).0 = false };
unsafe { (*self.0.date.get()).0 = false };
}
}