forked from fmtlib/fmt
Correct a miselading comment.
This commit is contained in:
2
format.h
2
format.h
@@ -163,7 +163,7 @@ extern const char DIGITS[];
|
|||||||
|
|
||||||
void ReportUnknownType(char code, const char *type);
|
void ReportUnknownType(char code, const char *type);
|
||||||
|
|
||||||
// Returns the number of decimal digits in n. Trailing zeros are not counted
|
// Returns the number of decimal digits in n. Leading zeros are not counted
|
||||||
// except for n == 0 in which case CountDigits returns 1.
|
// except for n == 0 in which case CountDigits returns 1.
|
||||||
inline unsigned CountDigits(uint64_t n) {
|
inline unsigned CountDigits(uint64_t n) {
|
||||||
unsigned count = 1;
|
unsigned count = 1;
|
||||||
|
Reference in New Issue
Block a user