We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea33f91 commit ae8b3a8Copy full SHA for ae8b3a8
rust/kernel/str.rs
@@ -752,7 +752,7 @@ impl RawFormatter {
752
/// for the lifetime of the returned [`RawFormatter`].
753
pub(crate) unsafe fn from_buffer(buf: *mut u8, len: usize) -> Self {
754
let pos = buf as usize;
755
- // INVARIANT: We ensure that `end` is never less then `buf`, and the safety requirements
+ // INVARIANT: We ensure that `end` is never less than `buf`, and the safety requirements
756
// guarantees that the memory region is valid for writes.
757
Self {
758
pos,
0 commit comments