hashes: Made the runnableExample easier to understand (#17689)
This commit is contained in:
parent
f25243140b
commit
86a1dcf928
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ runnableExamples:
|
||||||
foo: int
|
foo: int
|
||||||
bar: string
|
bar: string
|
||||||
|
|
||||||
iterator items(x: Something): int =
|
iterator items(x: Something): Hash =
|
||||||
yield hash(x.foo)
|
yield hash(x.foo)
|
||||||
yield hash(x.bar)
|
yield hash(x.bar)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue