mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-27 19:30:15 +08:00
- service.rs: macOS platform impl 是同步 fn,用 #[cfg] 在 caller 处区分,避免 .await 类型不匹配 - config.rs: macOS detect_installed_source read_link 失败时无 fallback,补充 return official - config.rs: clippy::manual_strip,&path[2..] 改用 strip_prefix - device.rs: clippy::needless_borrow,&pub_bytes 去掉多余引用 - device.rs: clippy::manual_is_multiple_of,% 2 != 0 改用 .is_multiple_of(2) - logs.rs: clippy::manual_arithmetic_check,if/else 改用 saturating_sub