We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 729c030 + 9adf1cc commit 3c83adeCopy full SHA for 3c83ade
rust/kernel/str.rs
@@ -414,7 +414,7 @@ impl RawFormatter {
414
/// If `pos` is less than `end`, then the region between `pos` (inclusive) and `end`
415
/// (exclusive) must be valid for writes for the lifetime of the returned [`RawFormatter`].
416
pub(crate) unsafe fn from_ptrs(pos: *mut u8, end: *mut u8) -> Self {
417
- // INVARIANT: The safety requierments guarantee the type invariants.
+ // INVARIANT: The safety requirements guarantee the type invariants.
418
Self {
419
beg: pos as _,
420
pos: pos as _,
0 commit comments