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:
Jon Kinney
2026-04-28 17:36:20 -05:00
committed by Ferdinand Schober
parent 53c668b355
commit f252567ef9
2 changed files with 1 additions and 3 deletions

View File

@@ -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

View File

@@ -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(),