mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 04:22:28 +00:00
AK: Remove StringBuilder::build() in favor of to_deprecated_string()
Having an alias function that only wraps another one is silly, and keeping the more obvious name should flush out more uses of deprecated strings. No behavior change.
This commit is contained in:
parent
da81041e97
commit
6e7459322d
Notes:
sideshowbarker
2024-07-18 04:38:32 +09:00
Author: https://github.com/linusg
Commit: 6e7459322d
Pull-request: https://github.com/SerenityOS/serenity/pull/17192
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/nico ✅
129 changed files with 213 additions and 219 deletions
|
@ -86,7 +86,7 @@ static ErrorOr<DeprecatedString> decode_html_entities(StringView const& str)
|
|||
|
||||
start = entity_end.value() + 1;
|
||||
}
|
||||
return decoded_str.build();
|
||||
return decoded_str.to_deprecated_string();
|
||||
}
|
||||
|
||||
static ErrorOr<ApprovalDate> parse_approval_date(StringView const& str)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue