about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-05-22 10:31:25 -0700
committerbors <bors@rust-lang.org>2014-05-22 10:31:25 -0700
commit8d50d6a93c8f408b54f887670f70726421a48f0a (patch)
treefd184c0e9833266e8bcdcec13eafbeead317678c /src/rustllvm/RustWrapper.cpp
parent3c9f2a5d0a22828dae30ad5926049fb321897eab (diff)
parentc746c503f0bb0ba27e5ee6170a85d03013d3ac1c (diff)
downloadrust-8d50d6a93c8f408b54f887670f70726421a48f0a.tar.gz
rust-8d50d6a93c8f408b54f887670f70726421a48f0a.zip
auto merge of #14346 : alexcrichton/rust/rustdoc-external-crates, r=pcwalton
This commit alters rustdoc to crawl the metadata of upstream libraries in order
to fill in default methods for traits implemented in downstream crates. This,
for example, documents the `insert` function on hash maps.

This is a fairly lossy extraction from the metadata. Documentation and
attributes are lost, but they aren't used anyway. Unfortunately, argument names
are also lost because they are not present in the metadata. Source links are
also lost because the spans are not serialized.

While not perfect, it appears that presenting this documentation through rustdoc
is much better than nothing, so I wanted to land this to allow iteration on it
later on.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions