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