1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:24:57 +00:00

Everywhere: Fix a few typos

Some even user-visible!
This commit is contained in:
Nico Weber 2023-04-12 13:32:21 -04:00 committed by Linus Groh
parent 3d10132021
commit f56b897622
10 changed files with 13 additions and 13 deletions

View file

@ -206,7 +206,7 @@ struct OptionalLabelArgument {
{
auto blanks = lexer.consume_while(is_ascii_blank);
if (blanks.is_empty())
return SedError::parsing_error(lexer, "expected one or more blank characeters"sv);
return SedError::parsing_error(lexer, "expected one or more blank characters"sv);
if (lexer.next_is(is_command_separator))
return ArgsT {};
return ArgsT { lexer.consume_until(is_command_separator) };
@ -219,7 +219,7 @@ struct FilepathArgument {
{
auto blanks = lexer.consume_while(is_ascii_blank);
if (blanks.is_empty())
return SedError::parsing_error(lexer, "expected one or more blank characeters"sv);
return SedError::parsing_error(lexer, "expected one or more blank characters"sv);
auto filepath = lexer.consume_until(is_command_separator);
if (filepath.is_empty())
return SedError::parsing_error(lexer, "input filename expected, none found");