diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2021-06-15 13:22:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-15 19:22:28 +0200 |
commit | 9c42b5e03b6500aaf38b37b208ad9ae1ba2bbaf3 (patch) | |
tree | 0e92b77eda7126ed8169b168de343b6a19f6a7c4 /cli/lsp/tsc.rs | |
parent | b6fd39377ee68dda0a5d82ed7f5dba9c61583a43 (diff) |
Remove various unnecessary allow(clippy) declarations (#10971)
Diffstat (limited to 'cli/lsp/tsc.rs')
-rw-r--r-- | cli/lsp/tsc.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs index 834ac0a0c..d1690b252 100644 --- a/cli/lsp/tsc.rs +++ b/cli/lsp/tsc.rs @@ -1868,7 +1868,6 @@ struct SourceSnapshotArgs { /// The language service is dropping a reference to a source file snapshot, and /// we can drop our version of that document. -#[allow(clippy::unnecessary_wraps)] fn op_dispose( state: &mut State, args: SourceSnapshotArgs, @@ -2091,13 +2090,11 @@ fn op_resolve( Ok(resolved) } -#[allow(clippy::unnecessary_wraps)] fn op_respond(state: &mut State, args: Response) -> Result<bool, AnyError> { state.response = Some(args); Ok(true) } -#[allow(clippy::unnecessary_wraps)] fn op_script_names( state: &mut State, _args: Value, |