summaryrefslogtreecommitdiff
path: root/js/src/vm
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
commit458939c9d94049596ca6148b7b0014d5e7db36f8 (patch)
tree6487ec765896ae72f627a7b939e8227b1f17558c /js/src/vm
parent9ca880e20012f560af27ae624aaf37a3b19eba99 (diff)
downloaduxp-458939c9d94049596ca6148b7b0014d5e7db36f8.tar.gz
Issue #1738 - Follow-up: Update comment (no code changes)
Diffstat (limited to 'js/src/vm')
-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 b1e3e17c61..d8807a4deb 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)