We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e364e5 commit 88e8c2eCopy full SHA for 88e8c2e
rust/kernel/str.rs
@@ -408,7 +408,7 @@ impl RawFormatter {
408
/// If `pos` is less than `end`, then the region between `pos` (inclusive) and `end`
409
/// (exclusive) must be valid for writes for the lifetime of the returned [`RawFormatter`].
410
pub(crate) unsafe fn from_ptrs(pos: *mut u8, end: *mut u8) -> Self {
411
- // INVARIANT: The safety requierments guarantee the type invariants.
+ // INVARIANT: The safety requirements guarantee the type invariants.
412
Self {
413
beg: pos as _,
414
pos: pos as _,
0 commit comments