From fb144fe54fae0381d5e510a314df5ff2641bfb1b Mon Sep 17 00:00:00 2001 From: Maya Chen <275405107+otjdiepluong@users.noreply.github.com> Date: Thu, 14 May 2026 04:06:03 +0000 Subject: [PATCH] fix: duplicated "the" in encoding/varint and crypto comments --- crypto/crypto.ts | 2 +- encoding/varint.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/crypto.ts b/crypto/crypto.ts index 5283e5876cf7..29027b49e503 100644 --- a/crypto/crypto.ts +++ b/crypto/crypto.ts @@ -251,7 +251,7 @@ const stdCrypto: StdCrypto = ((x) => x)({ } // (TypeScript type definitions prohibit this case.) If they're trying // to call an algorithm we don't recognize, pass it along to WebCrypto - // in case it's a non-standard algorithm supported by the the runtime + // in case it's a non-standard algorithm supported by the runtime // they're using. return await webCrypto.subtle.digest(algorithm, data as BufferSource); }, diff --git a/encoding/varint.ts b/encoding/varint.ts index de7f1a748080..092210fba43d 100644 --- a/encoding/varint.ts +++ b/encoding/varint.ts @@ -108,7 +108,7 @@ export function decodeVarint(buf: Uint8Array, offset = 0): [bigint, number] { intermediate |= (byte & 0b01111111) << position; // If position is 28 - // it means that this iteration needs to be written the the two's complement view + // it means that this iteration needs to be written the two's complement view // This only happens once due to the `-4` in this branch if (position === 28) { // Write to the view