Skip to content

Commit

Permalink
fix cannot find trait ToNapiValue error
Browse files Browse the repository at this point in the history
  • Loading branch information
U-C-S authored and Brooooooklyn committed Apr 15, 2022
1 parent ce308a3 commit 09d7fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/napi/src/env.rs
Expand Up @@ -7,7 +7,7 @@ use std::mem;
use std::os::raw::{c_char, c_void};
use std::ptr;

#[cfg(all(feature = "tokio_rt", feature = "napi4"))]
#[cfg(all(feature = "napi4"))]
use crate::bindgen_runtime::ToNapiValue;
use crate::{
async_work::{self, AsyncWorkPromise},
Expand Down

0 comments on commit 09d7fd6

Please sign in to comment.