mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
Remove various unnecessary allow(clippy) declarations (#10971)
This commit is contained in:
parent
b6fd39377e
commit
9c42b5e03b
9 changed files with 4 additions and 20 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue