Skip to content

Commit

Permalink
Disable lint for platforms where it matters
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Dec 23, 2021
1 parent 932cea4 commit b4add86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ pub const DEFAULT_TRASH_CTX: TrashContext = TrashContext::new();
/// A collection of preferences for trash operations.
#[derive(Clone, Default, Debug)]
pub struct TrashContext {
#[cfg_attr(not(target_os = "macos"), allow(dead_code))]
platform_specific: platform::PlatformTrashContext,
}
impl TrashContext {
Expand Down

0 comments on commit b4add86

Please sign in to comment.