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

This commit is contained in:
Vertexwahn 2024-01-09 19:32:46 +01:00 committed by GitHub
parent f7ed65fa4a
commit 8875cf96c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;