mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-21 21:42:23 -05:00
Remove unneeded to_string call
This commit is contained in:
parent
a325df55d1
commit
01b7d6334c
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ fn prompt_for_completion(
|
|||
let formatted_line = if context_line.important {
|
||||
format!("{}", style(context_line.line).bold())
|
||||
} else {
|
||||
context_line.line.to_string()
|
||||
context_line.line
|
||||
};
|
||||
|
||||
println!(
|
||||
|
|
Loading…
Reference in a new issue