Everywhere: Clean up "in in" comment typos

Includes fetch editorial update
https://github.com/whatwg/fetch/commit/3cafbdfc39250!
This commit is contained in:
Nico Weber 2022-11-08 10:02:01 -05:00 committed by Sam Atkins
parent 7442cfb507
commit d09b5e8484
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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 sources 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) };