mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-03 10:24:44 +00:00
hashes: Made the runnableExample easier to understand (#17689)
This commit is contained in:
@@ -21,7 +21,7 @@ runnableExamples:
|
||||
foo: int
|
||||
bar: string
|
||||
|
||||
iterator items(x: Something): int =
|
||||
iterator items(x: Something): Hash =
|
||||
yield hash(x.foo)
|
||||
yield hash(x.bar)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user