about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-02-16 17:40:23 +0000
committerGitHub <noreply@github.com>2020-02-16 17:40:23 +0000
commita90f5b07875e73554b665d74ec661325df1755a7 (patch)
treedb2b998115e051dc19d0d3053eb11b24c09c2660
parent10f910df4bf2e3cf923b7823c2873d3b06313699 (diff)
parent6e22e33d7d4fee43e93ee43b24fa4fa0a7e769e7 (diff)
downloadrust-a90f5b07875e73554b665d74ec661325df1755a7.tar.gz
rust-a90f5b07875e73554b665d74ec661325df1755a7.zip
Merge #3173
3173: vscode: fix stupid mistake of mine r=matklad a=Veetaha

Shame on me...
Fixes #3056

Co-authored-by: Veetaha <gerzoh1@gmail.com>
-rw-r--r--editors/code/src/inlay_hints.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/inlay_hints.ts b/editors/code/src/inlay_hints.ts
index 1c019a51bcc..c317a9213e9 100644
--- a/editors/code/src/inlay_hints.ts
+++ b/editors/code/src/inlay_hints.ts
@@ -13,7 +13,7 @@ export function activateInlayHints(ctx: Ctx) {
 
     vscode.workspace.onDidChangeTextDocument(
         async event => {
-            if (event.contentChanges.length !== 0) return;
+            if (event.contentChanges.length === 0) return;
             if (event.document.languageId !== 'rust') return;
             await hintsUpdater.refresh();
         },