From: Chris Duncan Date: Sat, 10 Oct 2026 06:24:53 +0000 (-0700) Subject: Fix doc comment. X-Git-Tag: v2.0.0~1^2~40 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=450abd79e5ef26e76bcf0c80e273b483ee09d147;p=nano25519.git Fix doc comment. --- diff --git a/src/lib/primordials.ts b/src/lib/primordials.ts index dc5d515..fcf43f7 100644 --- a/src/lib/primordials.ts +++ b/src/lib/primordials.ts @@ -160,7 +160,7 @@ function hexcode (c: number): number { return digit | alpha } -/** 0..15 for a valid hex char code, else set bit 9 which is past 0xff */ +/** 0..15 for a valid hex character code, else -1 */ function nibble (c: number): number { const isDigit = ((0x2f - c) & (c - 0x3a)) >> 31 const digit = (c - 0x30) & isDigit