wrap_bare_cmp_assignment_one

Function wrap_bare_cmp_assignment_one 

Source
fn wrap_bare_cmp_assignment_one(stmt: &str) -> Option<String>
Expand description

Single-statement helper for wrap_bare_cmp_assignment. Returns Some(rewritten) if a <ident> = <rhs> shape with top-level cmp in <rhs> was found, None otherwise (caller passes through).