summaryrefslogtreecommitdiff
path: root/ops/fast_call.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ops/fast_call.rs')
-rw-r--r--ops/fast_call.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/ops/fast_call.rs b/ops/fast_call.rs
index f2ed8cb2d..b8fdf91bf 100644
--- a/ops/fast_call.rs
+++ b/ops/fast_call.rs
@@ -1,6 +1,6 @@
-/// Code generation for V8 fast calls.
-use crate::optimizer::FastValue;
-use crate::optimizer::Optimizer;
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+//! Code generation for V8 fast calls.
+
use pmutil::{q, Quote, ToTokensExt};
use proc_macro2::{Span, TokenStream};
use quote::quote;
@@ -9,6 +9,9 @@ use syn::{
Ident, ItemFn, ItemImpl, Path, PathArguments, PathSegment, Type, TypePath,
};
+use crate::optimizer::FastValue;
+use crate::optimizer::Optimizer;
+
pub(crate) struct FastImplItems {
pub(crate) impl_and_fn: TokenStream,
pub(crate) decl: TokenStream,