Skip to content

Commit

Permalink
Fix new lints for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
complexspaces committed Aug 24, 2024
1 parent 151e679 commit ee39c47
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ impl<F: FnOnce()> Drop for ScopeGuard<F> {
pub(crate) mod private {
// This is currently unused on macOS, so silence the warning which appears
// since there's no extension traits making use of this trait sealing structure.
#[cfg_attr(target_vendor = "apple", allow(unreachable_pub))]
#[cfg_attr(target_vendor = "apple", allow(unreachable_pub, dead_code))]
pub trait Sealed {}

impl Sealed for crate::Get<'_> {}
Expand Down
1 change: 0 additions & 1 deletion src/platform/linux/x11.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ use std::{
thread::JoinHandle,
thread_local,
time::{Duration, Instant},
usize,
};

use log::{error, trace, warn};
Expand Down

0 comments on commit ee39c47

Please sign in to comment.