mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-12-05 14:10:18 +08:00
fix(clippy): Restrict 2 imports to macOS only (#7858)
* fix(clippy): Remove 2 unused imports - Drop 2 unused imports according to clippy suggestions * fix(clippy): Re-add 2 imports and limit to macOS - Those "unused imports" are only for Windows and Linux - macOS environment requires those identifiers
This commit is contained in:
@@ -1078,7 +1078,10 @@ mod tests {
|
||||
assert_eq!(refusal_classification(None), SysproxyFailure::PrivilegeRequired);
|
||||
}
|
||||
|
||||
use super::{SystemProxyStateUnknown, is_reportable_given, rollback_failure, service_apply_result};
|
||||
use super::{SystemProxyStateUnknown, is_reportable_given, rollback_failure};
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
use super::service_apply_result;
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user