diff options
author | leo-lb <lle-bout@zaclys.net> | 2019-11-07 06:28:21 +0100 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2019-11-06 21:28:21 -0800 |
commit | 9bec094150e869caae5105d7080f0ae54757b2d9 (patch) | |
tree | cbb4b96a1350346ed38c2cfcc6131aa34b05ffef /tokio-test | |
parent | 6f8b986bdb61843171ab90a1947349d5ac25576e (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