From 7e8f368fd267ee309f2222b9bb1a1b511ad134d3 Mon Sep 17 00:00:00 2001 From: Philipp Schuster Date: Wed, 1 Jan 2025 22:28:55 +0100 Subject: [PATCH] fix: typos --- multiboot2/src/lib.rs | 2 +- multiboot2/src/util.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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")); } }