]> git.lizzy.rs Git - rust.git/commit
rustdoc: add a primitive page for "unit"
authorJosh Stone <jistone@redhat.com>
Wed, 18 Oct 2017 06:03:50 +0000 (23:03 -0700)
committerJosh Stone <jistone@redhat.com>
Wed, 18 Oct 2017 06:03:50 +0000 (23:03 -0700)
commit9fda05c0bc1c6611e8c6102c46c39a7af847ff08
tree492a573f82bbba429608ec4b45afc3128d86e0ea
parentf6d7514545cbe83e771a400d04049b96dfb210cd
rustdoc: add a primitive page for "unit"

In `src/libstd/primitive_docs.rs`, a `#[doc(primitive = "unit")]`
section has sat long neglected.  This patch teaches rustdoc to recognize
"unit", and steals its trait implementations away from the tuple page.
src/librustdoc/clean/mod.rs
src/librustdoc/html/format.rs