Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crypto/crypto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
Expand Down
2 changes: 1 addition & 1 deletion encoding/varint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading