mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-23 00:00:10 +02:00
time: fix incorrect argument name in doc (#2691)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user