Skip to content

Commit

Permalink
Fix Clippy's too_many_arguments lint
Browse files Browse the repository at this point in the history
Removed `#![allow(clippy::too_many_arguments)]` from `monitor.rs`,
creating the `ItemSettings` and `PasswordSettings` structs to be used as
the single parameters for `item()` and `password()` respectively.

Modified the `hidden!()` macro to print its messages to the console when
the `dev` profile is used (when `debug` mode is active), without
affecting its functionality in release mode.
  • Loading branch information
subreme committed Nov 19, 2021
1 parent 1437701 commit 0cdabdc
Show file tree
Hide file tree
Showing 5 changed files with 414 additions and 414 deletions.
Loading

0 comments on commit 0cdabdc

Please sign in to comment.