style: clippy fix
This commit is contained in:
parent
8de30a9287
commit
49a0139f81
2 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@ use napi::{CallContext, JsExternal, JsObject, JsString};
|
|||
|
||||
#[derive(Clone)]
|
||||
pub struct QueryEngine {
|
||||
datamodel: String,
|
||||
pub datamodel: String,
|
||||
}
|
||||
|
||||
unsafe impl Sync for QueryEngine {}
|
||||
|
|
|
@ -5,8 +5,8 @@ use napi::{
|
|||
use napi_derive::js_function;
|
||||
|
||||
#[derive(Clone)]
|
||||
struct A {
|
||||
cb: ThreadsafeFunction<String>,
|
||||
pub struct A {
|
||||
pub cb: ThreadsafeFunction<String>,
|
||||
}
|
||||
|
||||
#[js_function(1)]
|
||||
|
|
Loading…
Reference in a new issue