Skip to content

Commit f800cc0

Browse files
tgross35y86-dev
authored andcommitted
rust: minor documentation spelling fix
Signed-off-by: Trevor Gross <[email protected]>
1 parent e356c4b commit f800cc0

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)