From 42b25c66fde4031a7f6d99e7ada1c16c3df16ae0 Mon Sep 17 00:00:00 2001 From: Vaskar Kafle Date: Sun, 29 Nov 2026 14:36:26 +0545 Subject: [PATCH] src: fix article grammar in comments --- src/node_http_common.h | 2 +- src/node_snapshotable.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/node_http_common.h b/src/node_http_common.h index de2fdb2aa810..3333b500e9ff 100644 --- a/src/node_http_common.h +++ b/src/node_http_common.h @@ -242,7 +242,7 @@ enum http_status_codes { // NgHeaders takes as input a block of headers provided by the // JavaScript side (see http2's buildNgHeaderString function) and -// converts it into a array of ng header structs. This is done +// converts it into an array of ng header structs. This is done // generically to handle both http/2 and (in the future) http/3, // which use nearly identical structs. The template parameter // takes a Traits type that defines the ng header struct and diff --git a/src/node_snapshotable.cc b/src/node_snapshotable.cc index c2ac34e662ce..67bb17ac3cb8 100644 --- a/src/node_snapshotable.cc +++ b/src/node_snapshotable.cc @@ -789,7 +789,7 @@ void WriteByteVectorLiteral(std::ostream* ss, for (size_t i = 0; i < size; i++) { *ss << std::to_string(vec[i]) << (i == size - 1 ? '\n' : ','); if (i % 64 == 63) { - // Print a newline every 64 units and a offset to improve + // Print a newline every 64 units and an offset to improve // readability. *ss << " // " << (i / 64) << "\n"; } @@ -1115,7 +1115,7 @@ ExitCode BuildSnapshotWithoutCodeCache( // Drain the loop and platform tasks before creating a snapshot. This is // necessary to ensure that the no roots are held by the the platform // tasks, which may reference objects associated with a context. For - // example, a WeakRef may schedule an per-isolate platform task as a GC + // example, a WeakRef may schedule a per-isolate platform task as a GC // root, and referencing an object in a context, causing an assertion in // the snapshot creator. ExitCode exit_code =