]> git.lizzy.rs Git - rust.git/commitdiff
rollup merge of #19234: P1start/rustdoc-misc
authorJakub Bukaj <jakub@jakub.cc>
Sun, 23 Nov 2014 19:12:01 +0000 (14:12 -0500)
committerJakub Bukaj <jakub@jakub.cc>
Sun, 23 Nov 2014 19:12:01 +0000 (14:12 -0500)
This PR:

- makes rustdoc colour trait methods like other functions in search results;
- makes rustdoc display `extern crate` statements with the new `as` syntax instead of the old `=` syntax;
- changes rustdoc to list constants and statics in a way that is more similar to functions and modules and show their full definition and documentation on their own page, fixing #19046:

  ![Constant listing](https://i.imgur.com/L4ZTOCN.png)

  ![Constant page](https://i.imgur.com/RcjZfCv.png)

1  2 
src/librustdoc/clean/mod.rs
src/librustdoc/html/render.rs

Simple merge
Simple merge