Skip to content

Commit 8af91b3

Browse files
committed
Typo
1 parent 623256a commit 8af91b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Init/Data/BitVec/Basic.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ If `n` is `0`, then one digit is returned. Otherwise, `⌊(n + 3) / 4⌋` digits
203203
-- `Internal` string functions by moving this definition out to a separate file that can live
204204
-- downstream of `Init.Data.String.Basic`.
205205
protected def toHex {n : Nat} (x : BitVec n) : String :=
206-
let s := String.ofList (Nat.toDigits 16 x.toNat)
206+
let s := String.ofList (Nat.toDigits 16 x.toNat)
207207
let t := String.ofList (List.replicate ((n+3) / 4 - String.Internal.length s) '0')
208208
String.Internal.append t s
209209

0 commit comments

Comments
 (0)