summaryrefslogtreecommitdiff
path: root/test_napi/src
diff options
context:
space:
mode:
Diffstat (limited to 'test_napi/src')
-rw-r--r--test_napi/src/async.rs3
-rw-r--r--test_napi/src/object_wrap.rs3
2 files changed, 4 insertions, 2 deletions
diff --git a/test_napi/src/async.rs b/test_napi/src/async.rs
index 0df4990ab..51e6edac9 100644
--- a/test_napi/src/async.rs
+++ b/test_napi/src/async.rs
@@ -6,7 +6,8 @@ use crate::napi_new_property;
use napi_sys::Status::napi_ok;
use napi_sys::ValueType::napi_function;
use napi_sys::*;
-use std::os::raw::{c_char, c_void};
+use std::os::raw::c_char;
+use std::os::raw::c_void;
use std::ptr;
pub struct Baton {
diff --git a/test_napi/src/object_wrap.rs b/test_napi/src/object_wrap.rs
index 493cb05b3..5a6e36589 100644
--- a/test_napi/src/object_wrap.rs
+++ b/test_napi/src/object_wrap.rs
@@ -5,7 +5,8 @@ use crate::napi_get_callback_info;
use crate::napi_new_property;
use napi_sys::ValueType::napi_number;
use napi_sys::*;
-use std::os::raw::{c_char, c_void};
+use std::os::raw::c_char;
+use std::os::raw::c_void;
use std::ptr;
pub struct NapiObject {