Skip to content

Commit

Permalink
Fix doc error in idle definition (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
jotare authored Oct 3, 2023
1 parent 3230aa8 commit 51b07f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ pub struct TaskMetrics {

/// The total number of times that tasks idled, waiting to be awoken.
///
/// An idle is recorded as occurring if a if a non-zero duration elapses between the instant a
/// An idle is recorded as occurring if a non-zero duration elapses between the instant a
/// task completes a poll, and the instant that it is next awoken.
///
/// ##### Derived metrics
Expand Down Expand Up @@ -853,7 +853,7 @@ pub struct TaskMetrics {

/// The total duration that tasks idled.
///
/// An idle is recorded as occurring if a if a non-zero duration elapses between the instant a
/// An idle is recorded as occurring if a non-zero duration elapses between the instant a
/// task completes a poll, and the instant that it is next awoken.
///
/// ##### Derived metrics
Expand Down

0 comments on commit 51b07f6

Please sign in to comment.