diff --git a/src/common.rs b/src/common.rs index 39872cd..58eadcc 100644 --- a/src/common.rs +++ b/src/common.rs @@ -175,7 +175,7 @@ impl Drop for ScopeGuard { pub(crate) mod private { // This is currently unused on macOS and WASM, so silence the warning which appears // since there's no extension traits making use of this trait sealing structure. - #[allow(unreachable_pub, unused)] + #[allow(unreachable_pub, unused, dead_code)] pub trait Sealed {} impl Sealed for crate::Get<'_> {} diff --git a/src/platform/linux/x11.rs b/src/platform/linux/x11.rs index 0dd7c50..406b43f 100644 --- a/src/platform/linux/x11.rs +++ b/src/platform/linux/x11.rs @@ -23,7 +23,6 @@ use std::{ thread::JoinHandle, thread_local, time::{Duration, Instant}, - usize, }; use log::{error, trace, warn};