1
Fork 0

Fix rebase + address comments

This commit is contained in:
Vadim Petrochenkov 2016-08-18 15:43:24 +03:00
parent 5f9ef3c8b2
commit c2ca1530db
9 changed files with 18 additions and 14 deletions

View file

@ -2565,10 +2565,8 @@ fn render_union(w: &mut fmt::Formatter, it: &clean::Item,
if structhead {"union "} else {""},
it.name.as_ref().unwrap())?;
if let Some(g) = g {
write!(w, "{}", g)?
}
if let Some(g) = g {
write!(w, "{}", WhereClause(g))?
write!(w, "{}", g)?;
write!(w, "{}", WhereClause(g))?;
}
write!(w, " {{\n{}", tab)?;