rust/src/librustdoc
bors acf4e0be22 Auto merge of #30087 - petrochenkov:indi, r=nrc
I've measured the time/memory consumption before and after - the difference is lost in statistical noise, so it's mostly a code simplification.
Sizes of `enum`s are not affected.

r? @nrc

I wonder if AST/HIR visitors could run faster if `P`s are systematically removed (except for cases where they control `enum` sizes). Theoretically they should.
Remaining unnecessary `P`s can't be easily removed because many folders accept `P<X>`s as arguments, but these folders can be converted to accept `X`s instead without loss of efficiency.
When I have a mood for some mindless refactoring again, I'll probably try to convert the folders, remove remaining `P`s and measure again.
2015-12-07 22:28:45 +00:00
..
clean Reuse record_extern_fqn 2015-12-05 13:35:33 +01:00
html Split rustdoc css to modify it more easily 2015-12-04 01:54:59 +01:00
core.rs fix tests & rustdoc 2015-11-26 18:22:40 +02:00
doctree.rs Remove some unnecessary indirection from HIR structures 2015-12-07 17:17:41 +03:00
externalfiles.rs Add generic conversion traits 2015-03-23 15:01:45 -07:00
flock.rs std: Migrate to the new libc 2015-11-09 22:55:50 -08:00
fold.rs rustdoc: Run external traits through filters 2015-04-07 17:54:33 -07:00
lib.rs std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
markdown.rs fix rustdoc metadata parsing 2015-07-30 15:51:50 -07:00
passes.rs std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
plugins.rs std: Stabilize library APIs for 1.5 2015-10-25 09:36:32 -07:00
test.rs fix tests & rustdoc 2015-11-26 18:22:40 +02:00
visit_ast.rs rustdoc: only show macro arm's lhs 2015-11-26 19:14:36 +01:00