mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 10:33:54 +00:00
chore: fix typos (#19572)
This commit is contained in:
parent
ad3c494b46
commit
801b9ec62d
83 changed files with 169 additions and 168 deletions
|
@ -746,7 +746,7 @@ fn codegen_sync_ret(
|
|||
} else if is_ptr_cvoid(output) || is_ptr_cvoid_rv(output) {
|
||||
quote! {
|
||||
if result.is_null() {
|
||||
// External canot contain a null pointer, null pointers are instead represented as null.
|
||||
// External cannot contain a null pointer, null pointers are instead represented as null.
|
||||
rv.set_null();
|
||||
} else {
|
||||
rv.set(v8::External::new(scope, result as *mut ::std::ffi::c_void).into());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue