1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:17:35 +00:00

Everywhere: Clean up "the the" comment typos

This commit is contained in:
Nico Weber 2022-11-03 13:27:18 -04:00 committed by Linus Groh
parent b820b9b2ff
commit daeaefad17
12 changed files with 15 additions and 15 deletions

View file

@ -301,7 +301,7 @@ ThrowCompletionOr<DurationUnitOptions> get_duration_unit_options(VM& vm, String
// FIXME: LibUnicode currently only exposes unit patterns converted to an ECMA402 NumberFormat-specific format,
// since DurationFormat only needs a tiny subset of it, it's much easier to just convert it to the expected format
// here, but at some point we should split the the NumberFormat exporter to export both formats of the data.
// here, but at some point we should split the NumberFormat exporter to export both formats of the data.
static String convert_number_format_pattern_to_duration_format_template(::Locale::NumberFormat const& number_format)
{
auto result = number_format.zero_format.replace("{number}"sv, "{0}"sv, ReplaceMode::FirstOnly);

View file

@ -53,7 +53,7 @@ OwnPtr<CommentBlock> CommentBlock::parse(LineIterator& lines)
StringBuilder builder;
while (true) {
// Invariant: At the beginning of the loop, `line` is valid and should be added the the builder.
// Invariant: At the beginning of the loop, `line` is valid and should be added to the builder.
bool ends_here = line.ends_with(comment_end);
if (ends_here)
line = line.substring_view(0, line.length() - comment_end.length());

View file

@ -192,7 +192,7 @@ Optional<Certificate> Certificate::parse_asn1(ReadonlyBytes buffer, bool)
// AttributeType ::= ObjectIdentifier
// AttributeValue ::= Any
while (!decoder.eof()) {
// Parse only the the required fields, and ignore the rest.
// Parse only the required fields, and ignore the rest.
ENTER_SCOPE_OR_FAIL(Set, "Certificate::TBSCertificate::issuer/subject::$::RelativeDistinguishedName");
while (!decoder.eof()) {
ENTER_SCOPE_OR_FAIL(Sequence, "Certificate::TBSCertificate::issuer/subject::$::RelativeDistinguishedName::$::AttributeTypeAndValue");