summaryrefslogtreecommitdiff
path: root/cli/lsp/tsc.rs
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-02-12 21:08:36 +1100
committerGitHub <noreply@github.com>2021-02-12 21:08:36 +1100
commit54e53cc9ea0767dfe8a44f92361f68c03f5f038f (patch)
tree12fa9db568984e97f5885e488857d406580a99b9 /cli/lsp/tsc.rs
parent146fb360c649f87c6898848bd3ee3610cd7ee8a6 (diff)
chore: Update to Rust 1.50.0 (#9479)
Diffstat (limited to 'cli/lsp/tsc.rs')
-rw-r--r--cli/lsp/tsc.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs
index a66541dd2..9a5b94f85 100644
--- a/cli/lsp/tsc.rs
+++ b/cli/lsp/tsc.rs
@@ -1175,6 +1175,7 @@ fn respond(state: &mut State, args: Value) -> Result<Value, AnyError> {
Ok(json!(true))
}
+#[allow(clippy::unnecessary_wraps)]
fn script_names(state: &mut State, _args: Value) -> Result<Value, AnyError> {
Ok(json!(state.state_snapshot.documents.open_specifiers()))
}