]> git.lizzy.rs Git - rust.git/commit
rustdoc: Fix rendering closures and trait bounds
authorAlex Crichton <alex@alexcrichton.com>
Fri, 11 Apr 2014 19:45:51 +0000 (12:45 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 13 Apr 2014 17:56:05 +0000 (10:56 -0700)
commit44e34c24c4752408038f95225f536d11605c5ba4
treed0b8323faddd66056e06aec63e088c40890dd695
parent4c62ab109b8bc4da7218c5fab0be1509a8f21664
rustdoc: Fix rendering closures and trait bounds

Closures did not have their bounds printed at all, nor their lifetimes. Trait
bounds were also printed in angle brackets rather than after a colon with a '+'
inbetween them.

Note that on the current task::spawn [1] documentation page, there is no mention
of a `Send` bound even though it is crucially important!

[1] - http://static.rust-lang.org/doc/master/std/task/fn.task.html
src/librustdoc/html/format.rs
src/libstd/slice.rs