Skip to content

Commit 2ae24bf

Browse files
author
Eugene Shamis
committed
Fixed typo, rebased
1 parent 47f60d7 commit 2ae24bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/fmt/num.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ unsafe trait GenericRadix: Sized {
8989
}
9090
}
9191
// 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,
92+
// decremented exactly once for each digit. Since u128 is the widest fixed width integer format supported,
9393
// the maximum number of digits (bits) is 128 for base-2, so `curr` won't underflow as well.
9494
let buf = unsafe { buf.get_unchecked(curr..) };
9595
// SAFETY: The only chars in `buf` are created by `Self::digit` which are assumed to be

0 commit comments

Comments
 (0)