fixup: doc: explain convoluted return type

This commit is contained in:
Joonas Koivunen
2023-05-10 16:25:07 +03:00
parent 17c92c885c
commit 3b1141b344

View File

@@ -219,6 +219,8 @@ where
}
}
/// Returns a Ok if the previous attempt had resulted in a terminal result. Err is returned
/// when an attempt can be joined and possibly needs to be spawned.
async fn decide_to_retry_or_join<F, Fut, E2>(
&self,
retry_with: F,