Skip to content

Commit

Permalink
rm warning
Browse files Browse the repository at this point in the history
  • Loading branch information
disruptek committed Jul 31, 2021
1 parent 3fd1cb2 commit 7a863c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/thooks.nim
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ suite "hooks":
block:
## cooperative yield hooks are used automatically
shouldRun 6:
proc coop(c: Cont): Cont {.cpsMagic.} =
proc coop(c: Cont): Cont {.cpsMagic, used.} =
ran()
result = c

Expand Down

0 comments on commit 7a863c9

Please sign in to comment.