Skip to main content

transform_fn

Function transform_fn 

Source
pub fn transform_fn(function: &mut ItemFn, options: &Options) -> Report
Expand description

Rewrite every async block in function (its body if it is async, and any async blocks or closures inside), returning what was found.