Function clippy_utils::contains_return
source ยท pub fn contains_return<'tcx>(expr: impl Visitable<'tcx>) -> bool
Expand description
Returns true
if expr
contains a return expression
pub fn contains_return<'tcx>(expr: impl Visitable<'tcx>) -> bool
Returns true
if expr
contains a return expression