diff --git a/multiboot2/src/lib.rs b/multiboot2/src/lib.rs index 3ca45741..a5b443d4 100644 --- a/multiboot2/src/lib.rs +++ b/multiboot2/src/lib.rs @@ -134,7 +134,7 @@ mod tests { use std::mem; /// Compile time test to check if the boot information is Send and Sync. - /// This test is relevant to give library users flexebility in passing the + /// This test is relevant to give library users flexibility in passing the /// struct around. #[test] fn boot_information_is_send_and_sync() { diff --git a/multiboot2/src/util.rs b/multiboot2/src/util.rs index 31ecc892..33939075 100644 --- a/multiboot2/src/util.rs +++ b/multiboot2/src/util.rs @@ -63,7 +63,7 @@ mod tests { // must not include final null assert_eq!(parse_slice_as_string(b"hello\0"), Ok("hello")); assert_eq!(parse_slice_as_string(b"hello\0\0"), Ok("hello")); - // must skip everytihng after first null + // must skip everything after first null assert_eq!(parse_slice_as_string(b"hello\0foo"), Ok("hello")); } }