summaryrefslogtreecommitdiffstats
path: root/tokio/src/time
diff options
context:
space:
mode:
authorAlice Ryhl <alice@ryhl.io>2020-07-26 21:22:56 +0200
committerGitHub <noreply@github.com>2020-07-26 21:22:56 +0200
commit018e345add2c74537136370b6af5eda1b604f3d3 (patch)
treed80820f0ef94454bbb08698e7400a7c36a6a6b50 /tokio/src/time
parente3e7cdeaff713a6a33c864d0b40a9f84b7f5062b (diff)
time: fix incorrect argument name in doc (#2691)
Diffstat (limited to 'tokio/src/time')
-rw-r--r--tokio/src/time/interval.rs2
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.