Skip to main content

scrutinee

Function scrutinee 

Source
pub(crate) fn scrutinee(stmt: &Stmt, n: usize) -> Option<(Stmt, Stmt)>
Expand description

Split match e.await {..}, if let p = e.await {..}, if e.await {..}, the same forms as a let initializer, and let p = e.await else {..} into let __psync_sN = e.await; and the statement reading __psync_sN.