From 419790fb74fbaf47d54519238b5a542a3875961e Mon Sep 17 00:00:00 2001 From: sigoden Date: Sat, 28 Jun 2025 19:17:43 +0800 Subject: chore: clippy (#1334) --- src/utils/command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/command.rs') diff --git a/src/utils/command.rs b/src/utils/command.rs index 14a40a4..7d98504 100644 --- a/src/utils/command.rs +++ b/src/utils/command.rs @@ -175,7 +175,7 @@ pub fn append_to_shell_history(shell: &str, command: &str, exit_code: i32) -> io .create(true) .append(true) .open(&history_file)?; - writeln!(file, "{}", history_txt)?; + writeln!(file, "{history_txt}")?; } Ok(()) } -- cgit v1.2.3