clippy_utils

Function contains_return

Source
pub fn contains_return<'tcx>(expr: impl Visitable<'tcx>) -> bool
Expand description

Returns true if expr contains a return expression