Function clippy_utils::get_async_fn_body
source · pub fn get_async_fn_body<'tcx>(
tcx: TyCtxt<'tcx>,
body: &Body<'_>
) -> Option<&'tcx Expr<'tcx>>
Expand description
Peels away all the compiler generated code surrounding the body of an async function,