rust-lang/rust-clippy

Extract commonly used visitors to utils

Open

#4,413 创建于 2019年8月19日

在 GitHub 查看
 (3 评论) (1 反应) (0 负责人)Rust (1,391 fork)batch import
C-enhancementgood first issue

仓库指标

Star
 (10,406 star)
PR 合并指标
 (平均合并 19天 22小时) (30 天内合并 113 个 PR)

描述

Both #3427 and #4386 implement a Visitor that walks an expression and searches for a return. This should be de-duplicated.

Maybe there are other Visitors in the Clippy code base, that also do similar things and can be extracted to utils.

Originally posted by @mikerite in https://github.com/rust-lang/rust-clippy/pull/4386#issuecomment-522407926

贡献者指南