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