summaryrefslogtreecommitdiff
path: root/ops/lib.rs
diff options
context:
space:
mode:
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());