Fix nightly CI dead_code warnings

This commit is contained in:
Kirill Chibisov 2024-02-08 13:28:26 +04:00 committed by GitHub
parent fedb86ea5a
commit 8936fe1acd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 1 additions and 19 deletions

View file

@ -69,12 +69,6 @@ impl Default for PlatformSpecificWindowBuilderAttributes {
unsafe impl Send for PlatformSpecificWindowBuilderAttributes {}
unsafe impl Sync for PlatformSpecificWindowBuilderAttributes {}
// Cursor name in UTF-16. Used to set cursor in `WM_SETCURSOR`.
#[derive(Debug, Clone, Copy)]
pub struct Cursor(pub *const u16);
unsafe impl Send for Cursor {}
unsafe impl Sync for Cursor {}
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct DeviceId(u32);