mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 02:40:40 +00:00

`Printer` cleanups The trait `Printer` is implemented by six types, and the sub-trait `PrettyPrinter` is implemented by three of those types. The traits and the impls are complex and a bit of a mess. This PR starts to clean them up. r? ``@davidtwco``