mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 17:26:12 +00:00
ast: Generalize item kind visiting And avoid duplicating logic for visiting `Item`s with different kinds (regular, associated, foreign). The diff is better viewed with whitespace ignored.