Skip to content

Commit 62ba806

Browse files
committed
style: fix clippy warning.
1 parent 0a08c5b commit 62ba806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ls/src/features/completion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ fn module_suggestions(
485485
} else {
486486
let insert_text = match &ty {
487487
Type::Array(_) => format!("{name}[${{1}}]${{2}}"),
488-
_ => format!("{name}"),
488+
_ => name.to_string(),
489489
};
490490

491491
vec![CompletionItem {

0 commit comments

Comments
 (0)