From 535c7de86023de4db8fbf09383a7660578e939d5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 May 2025 03:16:53 +0000 Subject: [PATCH 1/2] Bump crate-ci/typos from 1.31.2 to 1.32.0 Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.31.2 to 1.32.0. - [Release notes](https://github.com/crate-ci/typos/releases) - [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md) - [Commits](https://github.com/crate-ci/typos/compare/v1.31.2...v1.32.0) --- updated-dependencies: - dependency-name: crate-ci/typos dependency-version: 1.32.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/ValidatePullRequest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ValidatePullRequest.yml b/.github/workflows/ValidatePullRequest.yml index 4f6930cd9..fcc9a3992 100644 --- a/.github/workflows/ValidatePullRequest.yml +++ b/.github/workflows/ValidatePullRequest.yml @@ -65,7 +65,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Spell Check Repo - uses: crate-ci/typos@v1.31.2 + uses: crate-ci/typos@v1.32.0 # Gate PR merges on this specific "join-job" which requires all other # jobs to run first. We need this job since we cannot gate on particular jobs From 4f05e7968511d0422d123d85d2b952c89ae35852 Mon Sep 17 00:00:00 2001 From: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com> Date: Mon, 5 May 2025 10:14:51 -0700 Subject: [PATCH 2/2] Address typos reported by tool Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com> --- src/hyperlight_host/src/sandbox/initialized_multi_use.rs | 2 +- src/hyperlight_host/src/sandbox/uninitialized.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hyperlight_host/src/sandbox/initialized_multi_use.rs b/src/hyperlight_host/src/sandbox/initialized_multi_use.rs index d92252a8a..020fd0111 100644 --- a/src/hyperlight_host/src/sandbox/initialized_multi_use.rs +++ b/src/hyperlight_host/src/sandbox/initialized_multi_use.rs @@ -240,7 +240,7 @@ where /// /// The evolve function creates a new MultiUseCallContext which is then passed to a callback function allowing the /// callback function to call guest functions as part of the evolve process, once the callback function is complete - /// the context is finished using a crate internal method that does not restore the prior state of the Sanbbox. + /// the context is finished using a crate internal method that does not restore the prior state of the Sandbox. /// It then creates a mew memory snapshot on the snapshot stack and returns the MultiUseSandbox #[instrument(err(Debug), skip_all, parent = Span::current(), level = "Trace")] fn evolve( diff --git a/src/hyperlight_host/src/sandbox/uninitialized.rs b/src/hyperlight_host/src/sandbox/uninitialized.rs index c1527a5c2..d61183b36 100644 --- a/src/hyperlight_host/src/sandbox/uninitialized.rs +++ b/src/hyperlight_host/src/sandbox/uninitialized.rs @@ -691,7 +691,7 @@ mod tests { "test" ); - // There may be cases where a mutable reference to the captured variable is not required to be used outside the closue + // There may be cases where a mutable reference to the captured variable is not required to be used outside the closure // e.g. if the function is writing to a file or a socket etc. // writer as a FnMut closure mutating a captured variable but not trying to access the captured variable