Skip to content

Commit 0d30d12

Browse files
authored
Merge pull request #253 from rust-osdev/typos
fix: typos
2 parents 73a0265 + 7e8f368 commit 0d30d12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: multiboot2/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ mod tests {
134134
use std::mem;
135135

136136
/// Compile time test to check if the boot information is Send and Sync.
137-
/// This test is relevant to give library users flexebility in passing the
137+
/// This test is relevant to give library users flexibility in passing the
138138
/// struct around.
139139
#[test]
140140
fn boot_information_is_send_and_sync() {

Diff for: multiboot2/src/util.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ mod tests {
6363
// must not include final null
6464
assert_eq!(parse_slice_as_string(b"hello\0"), Ok("hello"));
6565
assert_eq!(parse_slice_as_string(b"hello\0\0"), Ok("hello"));
66-
// must skip everytihng after first null
66+
// must skip everything after first null
6767
assert_eq!(parse_slice_as_string(b"hello\0foo"), Ok("hello"));
6868
}
6969
}

0 commit comments

Comments
 (0)