Skip to content

Commit

Permalink
Fix spelling: othewise ==> otherwise (fmtlib#3791)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vertexwahn authored and happymonkey1 committed Apr 6, 2024
1 parent c4e9f29 commit 6e05e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/scan.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6e05e76

Please sign in to comment.