]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #8762 - Jarcho:visitor, r=Jarcho
authorbors <bors@rust-lang.org>
Mon, 3 Oct 2022 00:05:05 +0000 (00:05 +0000)
committerbors <bors@rust-lang.org>
Mon, 3 Oct 2022 00:05:05 +0000 (00:05 +0000)
Replace `expr_visitor` with  `for_each_expr`

This is a minor change which uses `ControlFlow` rather than a boolean. This also runs the visitor rather than returning the visitor, which results in a small readability win as well.

changelog: None


Trivial merge