diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2021-03-26 12:34:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-26 12:34:25 -0400 |
commit | f46e39c5c5435696daab9df075482e6e5c83533b (patch) | |
tree | 7699e06977e1149b5d056739f981c0217a91ed5e /core/bindings.rs | |
parent | 6c6f3e87c1a60bc96d006812a670212eeacd1257 (diff) |
remove macro_use (#9884)
Diffstat (limited to 'core/bindings.rs')
-rw-r--r-- | core/bindings.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/bindings.rs b/core/bindings.rs index afa4fbbf3..4665803be 100644 --- a/core/bindings.rs +++ b/core/bindings.rs @@ -9,6 +9,8 @@ use crate::OpTable; use crate::ZeroCopyBuf; use futures::future::FutureExt; use rusty_v8 as v8; +use serde::Serialize; +use serde_v8::to_v8; use std::cell::Cell; use std::convert::TryFrom; use std::convert::TryInto; @@ -17,10 +19,7 @@ use std::option::Option; use url::Url; use v8::MapFnTo; -use serde::Serialize; -use serde_v8::to_v8; - -lazy_static! { +lazy_static::lazy_static! { pub static ref EXTERNAL_REFERENCES: v8::ExternalReferences = v8::ExternalReferences::new(&[ v8::ExternalReference { |