Skip to content

Commit

Permalink
fix unused-must-use (#2490)
Browse files Browse the repository at this point in the history
unused-must-use
  • Loading branch information
yihau authored Aug 9, 2024
1 parent c63fe65 commit c20b1d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,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;
}
Expand Down

0 comments on commit c20b1d6

Please sign in to comment.