time: fix incorrect argument name in doc (#2691)

This commit is contained in:
Alice Ryhl
2020-07-26 21:22:56 +02:00
committed by GitHub
parent e3e7cdeaff
commit 018e345add
+1 -1
View File
@@ -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.