mirror of
https://github.com/status-im/nim-stew.git
synced 2025-01-09 11:45:42 +00:00
fix parser type
This commit is contained in:
parent
5e11e1f1db
commit
a8d98b3e88
@ -147,7 +147,7 @@ func readVarint*[Stream](input: var Stream,
|
||||
##
|
||||
## * `ValueError`
|
||||
## The stream contained an invalid varint value.
|
||||
var parser: VarintParser[type(outVal), flavour]
|
||||
var parser: VarintParser[T, flavour]
|
||||
|
||||
while not input.eof:
|
||||
case parser.feedByte(input.read)
|
||||
|
Loading…
x
Reference in New Issue
Block a user