Remove various unnecessary allow(clippy) declarations (#10971)

This commit is contained in:
Ryan Dahl 2021-06-15 13:22:28 -04:00 committed by GitHub
parent b6fd39377e
commit 9c42b5e03b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 4 additions and 20 deletions

View file

@ -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,