about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-05-21 16:41:58 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-05-21 16:41:58 -0700
commit06eb9765fec87dc66e17c97f667e30e6726d133e (patch)
tree99550eb190e397ee39d5be42011816578d83a3ab /src/libsyntax/parse
parent1edb0e536433056738b7f715dd02ff1de582f2ba (diff)
downloadrust-06eb9765fec87dc66e17c97f667e30e6726d133e.tar.gz
rust-06eb9765fec87dc66e17c97f667e30e6726d133e.zip
rustdoc: Show types for traits across crates
Right now, when you look in the "Implementors" section for traits, you only see
implementors within that crate. This commit modifies that section to include
implementors from neighboring crates as well.

For example, the Container trait currently says that it is only implemented by
strings and slices, but it is in fact implemented by nearly all containers.

Implementation-wise, this change generates an "implementors cache" similarly to
the search index where each crate will append implementors to the files. When
the page for a trait is loaded, it will load its specific cache file, rendering
links for all upstream types which implement the trait.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions