docs: transition_to_idle doesn't return boolean (#6320)

This commit is contained in:
Augusto Hack
2024-02-02 13:29:35 +01:00
committed by GitHub
parent eaf81ed324
commit cb197def68
-1
View File
@@ -141,7 +141,6 @@ impl State {
/// Transitions the task from `Running` -> `Idle`.
///
/// Returns `true` if the transition to `Idle` is successful, `false` otherwise.
/// The transition to `Idle` fails if the task has been flagged to be
/// cancelled.
pub(super) fn transition_to_idle(&self) -> TransitionToIdle {