mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-05-07 22:58:05 +03:00
chore: silence two pre-existing clippy lints
- macos_privacy.rs: drop the redundant inner #![cfg(target_os = "macos")]; lib.rs already gates the mod declaration with #[cfg(target_os = "macos")] (clippy::duplicated_attributes). - macos_status_item.rs: inline status_item into the format string (clippy::uninlined_format_args). No behavior change. Brings `cargo clippy --workspace --all-targets --all-features -- -D warnings` back to clean.
This commit is contained in:
committed by
Ferdinand Schober
parent
53c668b355
commit
f252567ef9
@@ -1,5 +1,3 @@
|
||||
#![cfg(target_os = "macos")]
|
||||
|
||||
//! Tiny macOS Privacy-pane helpers used by the GUI.
|
||||
//!
|
||||
//! On macOS 13+, the Accessibility grant transitively confers the
|
||||
|
||||
@@ -80,7 +80,7 @@ pub fn setup(app: &adw::Application, window: &Window) {
|
||||
|
||||
install_reopen_handler(delegate);
|
||||
|
||||
log::debug!("macos_status_item ready at {:p}", status_item);
|
||||
log::debug!("macos_status_item ready at {status_item:p}");
|
||||
|
||||
item.replace(Some(StatusItem {
|
||||
app: app.downgrade(),
|
||||
|
||||
Reference in New Issue
Block a user