From b608b07c11b357d485c0c029561a3b9cefd6e550 Mon Sep 17 00:00:00 2001 From: ninglinLiu Date: Sat, 7 Nov 2026 08:33:14 +0800 Subject: [PATCH] docs: fix initalize/seperately/sucessfully typos --- libs/core/runtime/jsruntime.rs | 14 +++++++------- tools/release/release_doc_template.md | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/libs/core/runtime/jsruntime.rs b/libs/core/runtime/jsruntime.rs index b859b91b14c369..6fe781b5ec4ac8 100644 --- a/libs/core/runtime/jsruntime.rs +++ b/libs/core/runtime/jsruntime.rs @@ -450,7 +450,7 @@ pub(crate) const NO_OF_BUILTIN_MODULES: usize = 2; /// Use [`JsRuntimeForSnapshot`] to be able to create a snapshot. /// /// Note: since V8 11.6, all runtimes must have a common parent thread that -/// initalized the V8 platform. This can be done by calling +/// initialized the V8 platform. This can be done by calling /// [`JsRuntime::init_platform`] explicitly, or it will be done automatically on /// the calling thread when the first runtime is created. pub struct JsRuntime { @@ -727,7 +727,7 @@ macro_rules! scope { } impl JsRuntime { - /// Explicitly initalizes the V8 platform using the passed platform. This + /// Explicitly initializes the V8 platform using the passed platform. This /// should only be called once per process. Further calls will be silently /// ignored. #[cfg(not(any(test, feature = "unsafe_runtime_options")))] @@ -735,7 +735,7 @@ impl JsRuntime { setup::init_v8(v8_platform, cfg!(test), false); } - /// Explicitly initalizes the V8 platform using the passed platform. This + /// Explicitly initializes the V8 platform using the passed platform. This /// should only be called once per process. Further calls will be silently /// ignored. /// @@ -2051,7 +2051,7 @@ impl JsRuntime { /// event loop resolves the underlying promise. If the future rejects, the future will /// resolve with the underlying error. /// - /// The event loop must be polled seperately for this future to resolve. If the event loop + /// The event loop must be polled separately for this future to resolve. If the event loop /// is not polled, the future will never make progress. pub fn call( &mut self, @@ -2066,7 +2066,7 @@ impl JsRuntime { /// event loop resolves the underlying promise. If the future rejects, the future will /// resolve with the underlying error. /// - /// The event loop must be polled seperately for this future to resolve. If the event loop + /// The event loop must be polled separately for this future to resolve. If the event loop /// is not polled, the future will never make progress. pub fn scoped_call( scope: &mut v8::PinScope, @@ -2081,7 +2081,7 @@ impl JsRuntime { /// event loop resolves the underlying promise. If the future rejects, the future will /// resolve with the underlying error. /// - /// The event loop must be polled seperately for this future to resolve. If the event loop + /// The event loop must be polled separately for this future to resolve. If the event loop /// is not polled, the future will never make progress. pub fn call_with_args( &mut self, @@ -2098,7 +2098,7 @@ impl JsRuntime { /// event loop resolves the underlying promise. If the future rejects, the future will /// resolve with the underlying error. /// - /// The event loop must be polled seperately for this future to resolve. If the event loop + /// The event loop must be polled separately for this future to resolve. If the event loop /// is not polled, the future will never make progress. pub fn scoped_call_with_args( scope: &mut v8::PinScope, diff --git a/tools/release/release_doc_template.md b/tools/release/release_doc_template.md index 136925d96dd1e4..3bc556b44175e6 100644 --- a/tools/release/release_doc_template.md +++ b/tools/release/release_doc_template.md @@ -108,7 +108,7 @@ Release checklist: https://github.com/denoland/deno_docker/actions/workflows/version_bump.yml - [ ] This will open a PR. Review and merge it. - [ ] Create a `$VERSION` tag (_without_ `v` prefix). -- [ ] This will trigger a publish CI run. Verify that it completes sucessfully. +- [ ] This will trigger a publish CI run. Verify that it completes successfully. ## Updating `deno_pypi` @@ -117,7 +117,7 @@ Release checklist: - [ ] This will open a PR. Review and merge it. - [ ] Run the release workflow: https://github.com/denoland/deno_pypi/actions/workflows/release.yml -- [ ] This will trigger a publish CI run. Verify that it completes sucessfully +- [ ] This will trigger a publish CI run. Verify that it completes successfully and new version is available at https://pypi.org/project/deno/. ## Update MDN