mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
vscode extension cleanup: migrate to prefer-const tslint rule
This commit is contained in:
parent
d06e02dd13
commit
420462421d
6 changed files with 11 additions and 10 deletions
|
@ -21,7 +21,7 @@ function collectGarbage(ctx: Ctx): Cmd {
|
|||
|
||||
function showReferences(ctx: Ctx): Cmd {
|
||||
return (uri: string, position: lc.Position, locations: lc.Location[]) => {
|
||||
let client = ctx.client;
|
||||
const client = ctx.client;
|
||||
if (client) {
|
||||
vscode.commands.executeCommand(
|
||||
'editor.action.showReferences',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue