mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
chore: fix typos (#19572)
This commit is contained in:
parent
ad3c494b46
commit
801b9ec62d
83 changed files with 169 additions and 168 deletions
|
@ -22,7 +22,7 @@ pub(crate) fn import() -> TokenStream {
|
|||
// TODO(@littledivy): This won't work for `deno_core` examples
|
||||
// since `crate` does not refer to `deno_core`.
|
||||
// examples must re-export deno_core to make this work
|
||||
// until Span inspection APIs are stabalized.
|
||||
// until Span inspection APIs are stabilized.
|
||||
//
|
||||
// https://github.com/rust-lang/rust/issues/54725
|
||||
quote!(crate)
|
||||
|
|
|
@ -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());
|
||||
|
|
|
@ -329,7 +329,7 @@ pub(crate) struct Optimizer {
|
|||
|
||||
pub(crate) has_rc_opstate: bool,
|
||||
|
||||
// Do we need an explict FastApiCallbackOptions argument?
|
||||
// Do we need an explicit FastApiCallbackOptions argument?
|
||||
pub(crate) has_fast_callback_option: bool,
|
||||
// Do we depend on FastApiCallbackOptions?
|
||||
pub(crate) needs_fast_callback_option: bool,
|
||||
|
@ -426,7 +426,7 @@ impl Optimizer {
|
|||
}
|
||||
};
|
||||
|
||||
// The reciever, which we don't actually care about.
|
||||
// The receiver, which we don't actually care about.
|
||||
self.fast_parameters.push(FastValue::V8Value);
|
||||
|
||||
if self.is_async {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue