Skip to content

Commit 3c83ade

Browse files
authored
Merge pull request #905 from tgross35/patch-1
Extremely minor spelling fix
2 parents 729c030 + 9adf1cc commit 3c83ade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/kernel/str.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ impl RawFormatter {
414414
/// If `pos` is less than `end`, then the region between `pos` (inclusive) and `end`
415415
/// (exclusive) must be valid for writes for the lifetime of the returned [`RawFormatter`].
416416
pub(crate) unsafe fn from_ptrs(pos: *mut u8, end: *mut u8) -> Self {
417-
// INVARIANT: The safety requierments guarantee the type invariants.
417+
// INVARIANT: The safety requirements guarantee the type invariants.
418418
Self {
419419
beg: pos as _,
420420
pos: pos as _,

0 commit comments

Comments
 (0)