summaryrefslogtreecommitdiff
path: root/ops/lib.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-06-26 15:10:27 +0200
committerGitHub <noreply@github.com>2023-06-26 09:10:27 -0400
commit801b9ec62d94f201e67d053ee90dae0b70e50a42 (patch)
tree145f840c570dd72258ef309e9d31f100a5aa5786 /ops/lib.rs
parentad3c494b46c97f0cf91098b7ec2afa576ea7a3dd (diff)
chore: fix typos (#19572)
Diffstat (limited to 'ops/lib.rs')
-rw-r--r--ops/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/lib.rs b/ops/lib.rs
index bd8ff9caf..cf21d3915 100644
--- a/ops/lib.rs
+++ b/ops/lib.rs
@@ -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());