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:
@@ -1398,7 +1398,7 @@ unsafe fn register_window_class<T: 'static>(class_name: &[u16]) {
|
||||
unsafe { RegisterClassExW(&class) };
|
||||
}
|
||||
|
||||
struct ComInitialized(*mut ());
|
||||
struct ComInitialized(#[allow(dead_code)] *mut ());
|
||||
impl Drop for ComInitialized {
|
||||
fn drop(&mut self) {
|
||||
unsafe { CoUninitialize() };
|
||||
|
||||
Reference in New Issue
Block a user