Fix spelling: othewise ==> otherwise (#3791)

This commit is contained in:
Vertexwahn authored and GitHub committed 2024-01-09 10:32:46 -08:00
1 parent f7ed65fa4a
commit 8875cf96c2
1 file changed
+1 -1
+1 -1
View File
@@ -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;