Improve rustdoc's Trait Implementations section by grouping by module

34b7a85
Opened by Wesley Wiser at 2018-05-15 21:46:13

Right now, rustdoc's output for std::option::Option looks like this (as seen on https://doc.rust-lang.org/std/option/enum.Option.html):

current

This is pretty hard for me to read. I think this has been suggested before but hiding (or at least, minimizing) the trait methods makes this much easier to read:

better

This better but it's still hard to skim through because there's no ordering to the results (at least, that I can discern). If the trait impls were grouped by module, it would be much easier to skim:

even better

Alphabetizing the modules and the trait impls would improve this even more.