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/dump_autoload_command.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'crates/shirabe/src/command/dump_autoload_command.rs') diff --git a/crates/shirabe/src/command/dump_autoload_command.rs b/crates/shirabe/src/command/dump_autoload_command.rs index a1e50f5..9369267 100644 --- a/crates/shirabe/src/command/dump_autoload_command.rs +++ b/crates/shirabe/src/command/dump_autoload_command.rs @@ -27,6 +27,12 @@ pub struct DumpAutoloadCommand { base_command_data: BaseCommandData, } +impl Default for DumpAutoloadCommand { + fn default() -> Self { + Self::new() + } +} + impl DumpAutoloadCommand { pub fn new() -> Self { let mut command = DumpAutoloadCommand { @@ -269,7 +275,7 @@ impl Command for DumpAutoloadCommand { &config_ref, local_repo, package, - &mut *installation_manager_ref, + &mut installation_manager_ref, "composer", optimize, None, -- cgit v1.3.1