style: clippy fix
This commit is contained in:
parent
8de30a9287
commit
49a0139f81
2 changed files with 3 additions and 3 deletions
examples/napi-compat-mode/src/napi4
|
@ -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…
Add table
Add a link
Reference in a new issue