From d09b5e8484a5d4869d119cf3fc66b1a247cbd36d Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 8 Nov 2022 10:02:01 -0500 Subject: [PATCH] Everywhere: Clean up "in in" comment typos Includes fetch editorial update https://github.com/whatwg/fetch/commit/3cafbdfc39250! --- Kernel/Arch/x86/i386/Processor.cpp | 2 +- Kernel/Arch/x86/x86_64/Processor.cpp | 2 +- Userland/Libraries/LibWeb/Fetch/BodyInit.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Kernel/Arch/x86/i386/Processor.cpp b/Kernel/Arch/x86/i386/Processor.cpp index c9d49b28ae..9a23a5d083 100644 --- a/Kernel/Arch/x86/i386/Processor.cpp +++ b/Kernel/Arch/x86/i386/Processor.cpp @@ -69,7 +69,7 @@ FlatPtr Processor::init_context(Thread& thread, bool leave_crit) VERIFY(is_kernel_mode()); VERIFY(g_scheduler_lock.is_locked()); if (leave_crit) { - // Leave the critical section we set up in in Process::exec, + // Leave the critical section we set up in Process::exec, // but because we still have the scheduler lock we should end up with 1 VERIFY(in_critical() == 2); m_in_critical = 1; // leave it without triggering anything or restoring flags diff --git a/Kernel/Arch/x86/x86_64/Processor.cpp b/Kernel/Arch/x86/x86_64/Processor.cpp index a855f55d87..7925258e82 100644 --- a/Kernel/Arch/x86/x86_64/Processor.cpp +++ b/Kernel/Arch/x86/x86_64/Processor.cpp @@ -65,7 +65,7 @@ FlatPtr Processor::init_context(Thread& thread, bool leave_crit) VERIFY(is_kernel_mode()); VERIFY(g_scheduler_lock.is_locked()); if (leave_crit) { - // Leave the critical section we set up in in Process::exec, + // Leave the critical section we set up in Process::exec, // but because we still have the scheduler lock we should end up with 1 VERIFY(in_critical() == 2); m_in_critical = 1; // leave it without triggering anything or restoring flags diff --git a/Userland/Libraries/LibWeb/Fetch/BodyInit.cpp b/Userland/Libraries/LibWeb/Fetch/BodyInit.cpp index 2360178865..18d318ba46 100644 --- a/Userland/Libraries/LibWeb/Fetch/BodyInit.cpp +++ b/Userland/Libraries/LibWeb/Fetch/BodyInit.cpp @@ -113,7 +113,7 @@ WebIDL::ExceptionOr extract_body(JS::Realm& realm, })); // FIXME: 11. If source is a byte sequence, then set action to a step that returns source and length to source’s length. - // FIXME: 12. If action is non-null, then run these steps in in parallel: + // FIXME: 12. If action is non-null, then run these steps in parallel: // 13. Let body be a body whose stream is stream, source is source, and length is length. auto body = Infrastructure::Body { JS::make_handle(*stream), move(source), move(length) };