mirror of
https://github.com/status-im/nim-eth-keys.git
synced 2025-02-13 01:36:38 +00:00
Fix $
compat with Nim 0.18
This commit is contained in:
parent
c132fac2ce
commit
cc15d36cfe
@ -12,9 +12,6 @@ import algorithm
|
||||
proc initArray*[N: static[int], T](value: T): array[N, T] {.noInit.}=
|
||||
result.fill(value)
|
||||
|
||||
proc `$`*[N:static[int]](a: array[N, byte]): string =
|
||||
$(cast[array[N, char]](a))
|
||||
|
||||
proc `&`*[N1, N2: static[int], T](
|
||||
a: array[N1, T],
|
||||
b: array[N2, T]
|
||||
|
Loading…
x
Reference in New Issue
Block a user