Skip to content

Commit 1c5ec43

Browse files
committed
fix: keep CleanableItem and Result imports available for non-macOS stub
The non-macOS stub implementation of MacOsCleaner needs these types in its detect() signature.
1 parent d05bee6 commit 1c5ec43

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/cleaners/macos.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
//! - Application support remnants
77
//! - System caches
88
9+
use super::CleanableItem;
910
#[cfg(target_os = "macos")]
10-
use super::{calculate_dir_size, get_mtime, CleanableItem, SafetyLevel};
11-
#[cfg(target_os = "macos")]
11+
use super::{calculate_dir_size, get_mtime, SafetyLevel};
1212
use crate::error::Result;
1313
#[cfg(target_os = "macos")]
1414
use std::borrow::Cow;

0 commit comments

Comments
 (0)