mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Use const
instead of let
This commit is contained in:
parent
b494e47920
commit
e6580aa380
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ async function editorFromUri(uri: vscode.Uri): Promise<vscode.TextEditor | undef
|
|||
}
|
||||
|
||||
export async function applySnippetTextEdits(editor: vscode.TextEditor, edits: vscode.TextEdit[]) {
|
||||
let selections: vscode.Selection[] = [];
|
||||
const selections: vscode.Selection[] = [];
|
||||
let lineDelta = 0;
|
||||
await editor.edit((builder) => {
|
||||
for (const indel of edits) {
|
||||
|
|
Loading…
Reference in a new issue