Bug 1931316 - Update nsTSubstring::SetCapacity documentation to not mention outdated special case of calling AppendLiteral on empty string r=xpcom-reviewers,emilio DONTBUILD

Behavior changed in Bug 1487606 with test covering the case:
gTest "Strings.append_literal_with_capacity"

Differential Revision: https://phabricator.services.mozilla.com/D229635
This commit is contained in:
Manuel Bucher 2024-11-20 16:19:01 +00:00
parent 8ac42837da
commit d27f1ce239

View File

@ -942,7 +942,7 @@ class nsTSubstring : public mozilla::detail::nsTStringRepr<T> {
*
* Append()
* AppendASCII()
* AppendLiteral() (except if the string is empty: bug 1487606)
* AppendLiteral()
* AppendPrintf()
* AppendInt()
* AppendFloat()