Changes to RustDoc
This commit is contained in:
parent
4688aadfde
commit
c4640a2a69
7 changed files with 34 additions and 56 deletions
|
@ -1679,9 +1679,6 @@ fn item_function(w: &mut fmt::Formatter, it: &clean::Item,
|
|||
fn item_trait(w: &mut fmt::Formatter, cx: &Context, it: &clean::Item,
|
||||
t: &clean::Trait) -> fmt::Result {
|
||||
let mut bounds = String::new();
|
||||
if let Some(ref ty) = t.default_unbound {
|
||||
bounds.push_str(format!(" for {}?", ty).as_slice());
|
||||
}
|
||||
if t.bounds.len() > 0 {
|
||||
if bounds.len() > 0 {
|
||||
bounds.push(' ');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue