summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-02-12 21:24:32 +0000
committerMoonchild <moonchild@palemoon.org>2021-02-12 21:24:32 +0000
commitf618d25d75cc4d256a1e8393726b2050cf56455f (patch)
tree6487ec765896ae72f627a7b939e8227b1f17558c /js
parentceb5dad2c61ec7943b416cfdae81fb979bca6093 (diff)
downloadaura-central-f618d25d75cc4d256a1e8393726b2050cf56455f.tar.gz
Issue mcp-graveyard/UXP%1738 - Follow-up: Update comment (no code changes)
Diffstat (limited to 'js')
-rw-r--r--js/src/vm/Unicode.h6
1 files 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)