update comments for nosuspend

This commit is contained in:
Tadeo Kondrak
2020-05-05 05:19:17 -06:00
parent 2c9204032d
commit fdfdac4939
3 changed files with 9 additions and 9 deletions

View File

@@ -21,7 +21,7 @@ pub fn Batch(
/// usual recommended option for this parameter.
auto_async,
/// Always uses the `noasync` keyword when using `await` on the jobs,
/// Always uses the `nosuspend` keyword when using `await` on the jobs,
/// making `add` and `wait` non-async functions. Asserts that the jobs do not suspend.
never_async,