Skip to content

Commit

Permalink
chore: change some words
Browse files Browse the repository at this point in the history
  • Loading branch information
paomian committed Oct 20, 2023
1 parent 5215edc commit 848f120
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/runtime/src/repeated_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ struct TaskInner<E> {
}

pub trait IntervalGenerator: Send + Sync {
/// return the next interval.
/// Returns the next interval.
fn next(&mut self) -> Duration;

/// return whether the interval is regular and the interval if it is regular.
/// Returns whether the interval is regular and the interval if it is regular.
fn is_regular(&self) -> (bool, Option<Duration>);
}

Expand Down

0 comments on commit 848f120

Please sign in to comment.