mirror of
https://github.com/status-im/nim-rocksdb.git
synced 2025-02-20 02:49:01 +00:00
address review comment
This commit is contained in:
parent
419b97e132
commit
92ac374a55
@ -70,7 +70,7 @@ type
|
||||
else:
|
||||
error*: string
|
||||
|
||||
template `$`*(s: RocksDBResult): string =
|
||||
proc `$`*(s: RocksDBResult): string =
|
||||
if s.ok:
|
||||
$s.value
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user