summaryrefslogtreecommitdiffstats
path: root/tokio-test
diff options
context:
space:
mode:
authorleo-lb <lle-bout@zaclys.net>2019-11-07 06:28:21 +0100
committerCarl Lerche <me@carllerche.com>2019-11-06 21:28:21 -0800
commit9bec094150e869caae5105d7080f0ae54757b2d9 (patch)
treecbb4b96a1350346ed38c2cfcc6131aa34b05ffef /tokio-test
parent6f8b986bdb61843171ab90a1947349d5ac25576e (diff)
timer: have example use delay_for instead of delay (#1735)
It is a more common use case that is to simply cause a delay for an amount of time. I think it is more appropriate to show off `delay_for` in the example rather than `delay` that is useful only for less common use cases.
Diffstat (limited to 'tokio-test')
0 files changed, 0 insertions, 0 deletions