Add a note for String::reverse to warn about its implementation

This commit is contained in:
Yuri Rubinsky 2024-04-29 20:29:26 +03:00
parent 89850d553e
commit d0af8901aa
2 changed files with 2 additions and 2 deletions

View file

@ -747,7 +747,7 @@
<method name="reverse" qualifiers="const">
<return type="String" />
<description>
Returns the copy of this string in reverse order.
Returns the copy of this string in reverse order. This operation works on unicode codepoints, rather than sequences of codepoints, and may break things like compound letters or emojis.
</description>
</method>
<method name="rfind" qualifiers="const">

View file

@ -648,7 +648,7 @@
<method name="reverse" qualifiers="const">
<return type="String" />
<description>
Returns the copy of this string in reverse order.
Returns the copy of this string in reverse order. This operation works on unicode codepoints, rather than sequences of codepoints, and may break things like compound letters or emojis.
</description>
</method>
<method name="rfind" qualifiers="const">