Merge pull request #91321 from Chaosus/doc_string_reverse
Add a note for `String::reverse` to warn about its implementation
This commit is contained in:
commit
4455747356
@ -747,7 +747,7 @@
|
|||||||
<method name="reverse" qualifiers="const">
|
<method name="reverse" qualifiers="const">
|
||||||
<return type="String" />
|
<return type="String" />
|
||||||
<description>
|
<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>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="rfind" qualifiers="const">
|
<method name="rfind" qualifiers="const">
|
||||||
|
@ -648,7 +648,7 @@
|
|||||||
<method name="reverse" qualifiers="const">
|
<method name="reverse" qualifiers="const">
|
||||||
<return type="String" />
|
<return type="String" />
|
||||||
<description>
|
<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>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="rfind" qualifiers="const">
|
<method name="rfind" qualifiers="const">
|
||||||
|
Loading…
Reference in New Issue
Block a user