From 47b7a7d062698e39cb0de19acbff17e938715909 Mon Sep 17 00:00:00 2001 From: yihau Date: Wed, 7 Aug 2024 11:33:12 +0800 Subject: [PATCH] unused-must-use --- install/src/command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/src/command.rs b/install/src/command.rs index 8a81e1d7233..e9261b95553 100644 --- a/install/src/command.rs +++ b/install/src/command.rs @@ -508,7 +508,7 @@ fn add_to_path(new_path: &str) -> bool { Ok(()) } append_file(&rcfile, &shell_export_string).unwrap_or_else(|err| { - format!("Unable to append to {rcfile:?}: {err}"); + println!("Unable to append to {rcfile:?}: {err}"); }); modified_rcfiles = true; }