We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47f60d7 commit 2ae24bfCopy full SHA for 2ae24bf
core/src/fmt/num.rs
@@ -89,7 +89,7 @@ unsafe trait GenericRadix: Sized {
89
}
90
91
// SAFETY: `curr` is initialized to `buf.len()` and is only decremented, so it can't overflow. It is
92
- // decremented exactly once for each digit. Since u128 is the widest fixed width integer format dupported,
+ // decremented exactly once for each digit. Since u128 is the widest fixed width integer format supported,
93
// the maximum number of digits (bits) is 128 for base-2, so `curr` won't underflow as well.
94
let buf = unsafe { buf.get_unchecked(curr..) };
95
// SAFETY: The only chars in `buf` are created by `Self::digit` which are assumed to be
0 commit comments