We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e356c4b commit f800cc0Copy full SHA for f800cc0
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