Skip to content

Commit 5302c77

Browse files
cclausssyntactically
authored andcommitted
Fix typos discovered by codespell
Signed-off-by: Christian Clauss <cclauss@me.com>
1 parent dbed663 commit 5302c77

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

Justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ clean-rust:
7474

7575
# TESTING
7676
# Some tests cannot run with other tests, they are marked as ignored so that cargo test works
77-
# there may be tests that we really want to ignore so we cant just use --ignored and we have to
77+
# there may be tests that we really want to ignore so we can't just use --ignored and we have to
7878
# Specify the test name of the ignored tests that we want to run
7979
test-rust target=default-target features="": (test-rust-int "rust" target features) (test-rust-int "c" target features) (test-seccomp target)
8080
# unit tests

proposals/NNNN-hip-template/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
This section is incredibly important for producing high-quality, user-focused
2828
documentation such as release notes or a development roadmap. It should be
2929
possible to collect this information before implementation begins, in order to
30-
avoid requiring implementors to split their attention between writing release
30+
avoid requiring implementers to split their attention between writing release
3131
notes and implementing the feature itself. HIP editors should help to ensure
3232
that the tone and content of the `Summary` section is useful for a wide audience.
3333

src/hyperlight_host/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ pub enum HyperlightError {
5555
BoundsCheckFailed(u64, usize),
5656

5757
/// Checked Add Overflow
58-
#[error("Couldnt add offset to base address. Offset: {0}, Base Address: {1}")]
58+
#[error("Couldn't add offset to base address. Offset: {0}, Base Address: {1}")]
5959
CheckedAddOverflow(u64, u64),
6060

6161
/// Cross beam channel receive error

src/hyperlight_host/src/func/guest_dispatch.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ mod tests {
384384

385385
fn terminate_vcpu_after_1000ms() -> Result<()> {
386386
// This test relies upon a Hypervisor being present so for now
387-
// we will skip it if there isnt one.
387+
// we will skip it if there isn't one.
388388
if !is_hypervisor_present() {
389389
println!("Skipping terminate_vcpu_after_1000ms because no hypervisor is present");
390390
return Ok(());
@@ -433,7 +433,7 @@ mod tests {
433433
#[test]
434434
fn test_terminate_vcpu_calling_host_spinning_cpu() {
435435
// This test relies upon a Hypervisor being present so for now
436-
// we will skip it if there isnt one.
436+
// we will skip it if there isn't one.
437437
if !is_hypervisor_present() {
438438
println!("Skipping test_call_guest_function_by_name because no hypervisor is present");
439439
return;

src/hyperlight_host/src/hypervisor/windows_hypervisor_platform.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ impl VMPartition {
9999
let whvmapgparange2_func = unsafe {
100100
match try_load_whv_map_gpa_range2() {
101101
Ok(func) => func,
102-
Err(e) => return Err(new_error!("Cant find API: {}", e)),
102+
Err(e) => return Err(new_error!("Can't find API: {}", e)),
103103
}
104104
};
105105

src/hyperlight_host/src/mem/pe/pe_info.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ mod tests {
360360
load_address: 5368709120,
361361
num_relocations: (900..1200).collect(),
362362
// range of possible # of relocations
363-
// (hardware dependant)
363+
// (hardware dependent)
364364
}
365365
} else {
366366
PEFileTest {

src/hyperlight_host/src/sandbox/run_options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
use tracing::{instrument, Span};
1818

1919
/// Configuration options for setting up a new `UninitializedSandbox` and
20-
/// subsequent inititialized sandboxes, including `MultiUseSandbox`.
20+
/// subsequent initialized sandboxes, including `MultiUseSandbox`.
2121
///
2222
/// A `SandboxRunOptions` instance must be created with either in-process
2323
/// or in-hypervisor execution mode, and then can optionally be augmented

0 commit comments

Comments
 (0)