moro icon indicating copy to clipboard operation
moro copied to clipboard

Documentation: "infallible" is mentioned, but not demostrated.

Open vi opened this issue 1 year ago • 0 comments

https://docs.rs/moro/latest/moro/macro.async_scope.html

To avoid this, use the infallible method on the scope to convert it into a non-cancellable scope:

let scope = moro::async_scope!(|scope| {/* ... */}).await;

Looks like something is missing here.

vi avatar Sep 07 '24 17:09 vi