Remove unneeded to_string call

This commit is contained in:
mo8it 2024-03-23 22:08:25 +01:00
parent a325df55d1
commit 01b7d6334c

View file

@ -224,7 +224,7 @@ fn prompt_for_completion(
let formatted_line = if context_line.important { let formatted_line = if context_line.important {
format!("{}", style(context_line.line).bold()) format!("{}", style(context_line.line).bold())
} else { } else {
context_line.line.to_string() context_line.line
}; };
println!( println!(