mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
ci: Fix dead code error on nightly
See https://github.com/rust-lang/rust/pull/118297
This commit is contained in:
@@ -87,7 +87,7 @@ unsafe impl<T> Sync for MainThreadSafe<T> {}
|
||||
|
||||
static DROP_HANDLER: OnceLock<AsyncSender<DropBox>> = OnceLock::new();
|
||||
|
||||
struct DropBox(Box<dyn Any>);
|
||||
struct DropBox(#[allow(dead_code)] Box<dyn Any>);
|
||||
|
||||
unsafe impl Send for DropBox {}
|
||||
unsafe impl Sync for DropBox {}
|
||||
|
||||
Reference in New Issue
Block a user