From 018e345add2c74537136370b6af5eda1b604f3d3 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Sun, 26 Jul 2020 21:22:56 +0200 Subject: time: fix incorrect argument name in doc (#2691) --- tokio/src/time/interval.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tokio/src/time') 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. -- cgit v1.2.3