util/CharUtil: fix doc typo

This commit is contained in:
Max Kellermann 2020-07-23 16:08:51 +02:00
parent 47f54b5650
commit eb87c28225

View File

@ -74,7 +74,7 @@ IsWhitespaceFast(const char ch) noexcept
* Is this a non-printable ASCII character? Returns false for * Is this a non-printable ASCII character? Returns false for
* non-ASCII characters. * non-ASCII characters.
* *
* Note that this is not the opposide of IsNonPrintableASCII(). * Note that this is not the opposite of IsNonPrintableASCII().
*/ */
constexpr bool constexpr bool
IsPrintableASCII(char ch) noexcept IsPrintableASCII(char ch) noexcept
@ -85,7 +85,7 @@ IsPrintableASCII(char ch) noexcept
/** /**
* Is this a non-printable character? Returns false for non-ASCII characters. * Is this a non-printable character? Returns false for non-ASCII characters.
* *
* Note that this is not the opposide of IsPrintableASCII() * Note that this is not the opposite of IsPrintableASCII()
*/ */
constexpr bool constexpr bool
IsNonPrintableASCII(char ch) noexcept IsNonPrintableASCII(char ch) noexcept