hashes: Made the runnableExample easier to understand (#17689)

This commit is contained in:
Andreas Rumpf 2021-04-09 15:36:06 +02:00 • committed by GitHub
commit 86a1dcf928
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)