Clean up visit_attribute in feature_gate.rs
- We shouldn't be using `check_name` here at all - `contains_name(ref_slice(foo), bar)` is redundant, `contains_name` just iterates over its first arg and calls `check_name` - match would be better than a bunch of ifs
Showing
想要评论请 注册 或 登录