From efec43b3b8827820cf35fe1b73d8e33f5fe84eb4 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 20 Jun 2026 01:16:50 +0900 Subject: refactor: auto-fix clippy warnings --- crates/shirabe/src/command/audit_command.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'crates/shirabe/src/command/audit_command.rs') diff --git a/crates/shirabe/src/command/audit_command.rs b/crates/shirabe/src/command/audit_command.rs index 4677b40..3014736 100644 --- a/crates/shirabe/src/command/audit_command.rs +++ b/crates/shirabe/src/command/audit_command.rs @@ -34,6 +34,12 @@ pub struct AuditCommand { base_command_data: BaseCommandData, } +impl Default for AuditCommand { + fn default() -> Self { + Self::new() + } +} + impl AuditCommand { pub fn new() -> Self { let mut command = AuditCommand { @@ -147,7 +153,7 @@ impl Command for AuditCommand { } let audit_config = AuditConfig::from_config( - &mut *composer.get_config().borrow_mut(), + &mut composer.get_config().borrow_mut(), true, Auditor::FORMAT_SUMMARY, )?; -- cgit v1.3.1