mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-10 05:10:05 +00:00
Fix spelling: othewise ==> otherwise (#3791)
This commit is contained in:
parent
f7ed65fa4a
commit
8875cf96c2
@ -16,7 +16,7 @@ namespace detail {
|
||||
|
||||
inline auto is_whitespace(char c) -> bool { return c == ' ' || c == '\n'; }
|
||||
|
||||
// If c is a hex digit returns its numeric value, othewise -1.
|
||||
// If c is a hex digit returns its numeric value, otherwise -1.
|
||||
inline auto to_hex_digit(char c) -> int {
|
||||
if (c >= '0' && c <= '9') return c - '0';
|
||||
if (c >= 'a' && c <= 'f') return c - 'a' + 10;
|
||||
|
Loading…
Reference in New Issue
Block a user