diff options
author | Alice Ryhl <alice@ryhl.io> | 2020-07-26 21:22:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-26 21:22:56 +0200 |
commit | 018e345add2c74537136370b6af5eda1b604f3d3 (patch) | |
tree | d80820f0ef94454bbb08698e7400a7c36a6a6b50 /tokio/src/time | |
parent | e3e7cdeaff713a6a33c864d0b40a9f84b7f5062b (diff) |
time: fix incorrect argument name in doc (#2691)
Diffstat (limited to 'tokio/src/time')
-rw-r--r-- | tokio/src/time/interval.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/time/interval.rs b/tokio/src/time/interval.rs index 1fa21e66..601fc7f8 100644 --- a/tokio/src/time/interval.rs +++ b/tokio/src/time/interval.rs @@ -71,7 +71,7 @@ pub fn interval(period: Duration) -> Interval { } /// Creates new `Interval` that yields with interval of `period` with the -/// first tick completing at `at`. +/// first tick completing at `start`. /// /// An interval will tick indefinitely. At any time, the `Interval` value can be /// dropped. This cancels the interval. |