fix(napi-derive): compile warning (#1820)
This commit is contained in:
parent
8c911b5d34
commit
7c3f8b514e
1 changed files with 2 additions and 2 deletions
|
@ -6,9 +6,9 @@ use std::io::Write;
|
||||||
use std::sync::atomic::{AtomicBool, Ordering};
|
use std::sync::atomic::{AtomicBool, Ordering};
|
||||||
|
|
||||||
use crate::parser::{attrs::BindgenAttrs, ParseNapi};
|
use crate::parser::{attrs::BindgenAttrs, ParseNapi};
|
||||||
|
use napi_derive_backend::{BindgenResult, TryToTokens, REGISTER_IDENTS};
|
||||||
#[cfg(feature = "type-def")]
|
#[cfg(feature = "type-def")]
|
||||||
use napi_derive_backend::ToTypeDef;
|
use napi_derive_backend::{Napi, ToTypeDef};
|
||||||
use napi_derive_backend::{BindgenResult, Napi, TryToTokens, REGISTER_IDENTS};
|
|
||||||
use proc_macro2::{TokenStream, TokenTree};
|
use proc_macro2::{TokenStream, TokenTree};
|
||||||
use quote::ToTokens;
|
use quote::ToTokens;
|
||||||
use syn::{Attribute, Item};
|
use syn::{Attribute, Item};
|
||||||
|
|
Loading…
Reference in a new issue