mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 15:13:13 -04:00
chore: silence clippy
It appears that clippy's dead code detection has gotten better. This commit fixes winit's code to match. Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
@@ -92,6 +92,7 @@ pub struct X11WindowAttributes {
|
||||
pub embed_window: Option<x11rb::protocol::xproto::Window>,
|
||||
}
|
||||
|
||||
#[cfg_attr(not(x11_platform), allow(clippy::derivable_impls))]
|
||||
impl Default for PlatformSpecificWindowAttributes {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
|
||||
Reference in New Issue
Block a user