mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 00:50:20 +02:00
clippy warnings
This commit is contained in:
@@ -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 };
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user