style(cli): update lib.rs

This commit is contained in:
LongYinan 2022-08-09 13:25:22 +08:00
parent 1cf5a0dc75
commit 0db6ae1282
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7

View file

@ -4,7 +4,7 @@ export const LibRs = `#![deny(clippy::all)]
extern crate napi_derive; extern crate napi_derive;
#[napi] #[napi]
fn sum(a: i32, b: i32) -> i32 { pub fn sum(a: i32, b: i32) -> i32 {
a + b a + b
} }
` `