docs(napi): typo
This commit is contained in:
parent
2cd105cfc6
commit
5002e782a4
1 changed files with 2 additions and 2 deletions
|
@ -206,7 +206,7 @@ pub fn get_js_function(raw_fn: ExportRegisterCallback) -> Result<JsFunction> {
|
|||
.ok_or_else(|| {
|
||||
crate::Error::new(
|
||||
crate::Status::InvalidArg,
|
||||
"JavaScript function does not exists".to_owned(),
|
||||
"JavaScript function does not exist".to_owned(),
|
||||
)
|
||||
})
|
||||
}
|
||||
|
@ -238,7 +238,7 @@ pub fn get_c_callback(raw_fn: ExportRegisterCallback) -> Result<crate::Callback>
|
|||
.ok_or_else(|| {
|
||||
crate::Error::new(
|
||||
crate::Status::InvalidArg,
|
||||
"JavaScript function does not exists".to_owned(),
|
||||
"JavaScript function does not exist".to_owned(),
|
||||
)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue