mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-05-15 06:06:07 -06: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:
parent
53c668b355
commit
f252567ef9
2 changed files with 1 additions and 3 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue