mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:07:45 +00:00
LibWeb/Infra: Rename to_ascii_{{lower,upper}_case => {lower,upper}case}
This commit is contained in:
parent
85507b34d7
commit
f65cbeef5c
5 changed files with 12 additions and 12 deletions
|
@ -105,7 +105,7 @@ ErrorOr<Optional<MimeType>> MimeType::parse(StringView string)
|
|||
return OptionalNone {};
|
||||
|
||||
// 10. Let mimeType be a new MIME type record whose type is type, in ASCII lowercase, and subtype is subtype, in ASCII lowercase.
|
||||
auto mime_type = TRY(MimeType::create(TRY(Infra::to_ascii_lower_case(type)), TRY(Infra::to_ascii_lower_case(subtype))));
|
||||
auto mime_type = TRY(MimeType::create(TRY(Infra::to_ascii_lowercase(type)), TRY(Infra::to_ascii_lowercase(subtype))));
|
||||
|
||||
// 11. While position is not past the end of input:
|
||||
while (!lexer.is_eof()) {
|
||||
|
@ -121,7 +121,7 @@ ErrorOr<Optional<MimeType>> MimeType::parse(StringView string)
|
|||
});
|
||||
|
||||
// 4. Set parameterName to parameterName, in ASCII lowercase.
|
||||
auto parameter_name = TRY(Infra::to_ascii_lower_case(parameter_name_view));
|
||||
auto parameter_name = TRY(Infra::to_ascii_lowercase(parameter_name_view));
|
||||
|
||||
// 5. If position is not past the end of input, then:
|
||||
if (!lexer.is_eof()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue