Function clippy_utils::visitors::expr_visitor_no_bodies
source · Expand description
Convenience method for creating a Visitor
with just visit_expr
overridden and nested
bodies (i.e. closures) are not visited.
If the callback returns true
, the expr just provided to the callback is walked.