]> git.lizzy.rs Git - rust.git/commit
rustdoc: Inline documentation of `pub use`
authorAlex Crichton <alex@alexcrichton.com>
Fri, 23 May 2014 05:00:18 +0000 (22:00 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 25 May 2014 08:17:14 +0000 (01:17 -0700)
commit712118b9c0030762fa8942c0ad52a652875bee02
treee167d3d8a24852b4d71187f7aaff8d72eeb18fb7
parent7d76d0ad44e1ec203d235f22eb3514247b8cbfe5
rustdoc: Inline documentation of `pub use`

This commit teaches rustdoc to inline the documentation for the destination of a
`pub use` statement across crate boundaries. This is intended for the standard
library's facade to show the fact that the facade is just an implementation
detail rather than the api of the standard library itself.

This starts out by inlining traits and functions, but more items will come soon.
The current drawback of this system is that hyperlinks across crates sill go to
the original item's definition rather than the reexported location.
src/librustdoc/clean.rs
src/librustdoc/html/render.rs