mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
Correct a miselading comment.
This commit is contained in:
parent
c4c5677e67
commit
8b4a466716
2
format.h
2
format.h
@ -163,7 +163,7 @@ extern const char DIGITS[];
|
||||
|
||||
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.
|
||||
inline unsigned CountDigits(uint64_t n) {
|
||||
unsigned count = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user