style(cli): update lib.rs
This commit is contained in:
parent
1cf5a0dc75
commit
0db6ae1282
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ export const LibRs = `#![deny(clippy::all)]
|
|||
extern crate napi_derive;
|
||||
|
||||
#[napi]
|
||||
fn sum(a: i32, b: i32) -> i32 {
|
||||
pub fn sum(a: i32, b: i32) -> i32 {
|
||||
a + b
|
||||
}
|
||||
`
|
||||
|
|
Loading…
Reference in a new issue