From 458939c9d94049596ca6148b7b0014d5e7db36f8 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Fri, 12 Feb 2021 21:24:32 +0000 Subject: Issue #1738 - Follow-up: Update comment (no code changes) --- js/src/vm/Unicode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/src/vm/Unicode.h b/js/src/vm/Unicode.h index b1e3e17c6..d8807a4de 100644 --- a/js/src/vm/Unicode.h +++ b/js/src/vm/Unicode.h @@ -469,9 +469,9 @@ IsTrailSurrogate(uint32_t codePoint) /** * Returns true if the given value is a UTF-16 surrogate. * - * This function is intended for use in contexts where 32-bit values may need - * to be tested to see if they reside in the surrogate range, so it doesn't - * just take char16_t. + * This function is intended to be used in contexts where 32-bit values may + * need to be tested to see if they reside in the surrogate range, so it + * doesn't just take char16_t. */ inline bool IsSurrogate(uint32_t codePoint) -- cgit v1.2.3