summaryrefslogtreecommitdiff
path: root/ops/op2/dispatch_slow.rs
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-06-26 09:38:55 -0600
committerGitHub <noreply@github.com>2023-06-26 09:38:55 -0600
commitfa935e553a9ec37d39d2274432a00f1b465cef0f (patch)
treed5024190474b6ee596977a6dde81335fb491d351 /ops/op2/dispatch_slow.rs
parent801b9ec62d94f201e67d053ee90dae0b70e50a42 (diff)
chore: Ensure copyright line is the first in the file (#19608)
The copyright checker was allowing files with code above the copyright line in a few places, mainly as a result of IDEs ordering imports improperly. This makes the check more robust, and adds a whitelist of valid lines that may appear before the copyright line.
Diffstat (limited to 'ops/op2/dispatch_slow.rs')
-rw-r--r--ops/op2/dispatch_slow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/op2/dispatch_slow.rs b/ops/op2/dispatch_slow.rs
index f10217a2d..478f872cd 100644
--- a/ops/op2/dispatch_slow.rs
+++ b/ops/op2/dispatch_slow.rs
@@ -1,4 +1,3 @@
-use super::MacroConfig;
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
use super::generator_state::GeneratorState;
use super::signature::Arg;
@@ -6,6 +5,7 @@ use super::signature::NumericArg;
use super::signature::ParsedSignature;
use super::signature::RetVal;
use super::signature::Special;
+use super::MacroConfig;
use super::V8MappingError;
use proc_macro2::TokenStream;
use quote::quote;