Skip to content

Commit

Permalink
Remove unneeded .to_string()
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony D'Andrea committed Apr 10, 2024
1 parent c7a4aae commit a7819d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ fn get_cargo_args(args: &Args, json_output: bool) -> Vec<String> {
}

if let Some(ref config) = args.config {
list.push(format!("--config={}", config.to_string()));
list.push(format!("--config={}", config));
}

if let Some(ref target) = args.target {
Expand Down

0 comments on commit a7819d0

Please sign in to comment.