Prechádzať zdrojové kódy

Everywhere: Clean up "in in" comment typos

Includes fetch editorial update
https://github.com/whatwg/fetch/commit/3cafbdfc39250!
Nico Weber 2 rokov pred
rodič
commit
d09b5e8484

+ 1 - 1
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

+ 1 - 1
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

+ 1 - 1
Userland/Libraries/LibWeb/Fetch/BodyInit.cpp

@@ -113,7 +113,7 @@ WebIDL::ExceptionOr<Infrastructure::BodyWithType> 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) };