1
Fork 0

Remove some ancient code providing special support for newtypes

This commit is contained in:
Vadim Petrochenkov 2016-08-26 19:23:42 +03:00
parent c87ba3f122
commit 4b6c4c08df
7 changed files with 16 additions and 56 deletions

View file

@ -2537,7 +2537,7 @@ fn render_struct(w: &mut fmt::Formatter, it: &clean::Item,
}
write!(w, "}}")?;
}
doctree::Tuple | doctree::Newtype => {
doctree::Tuple => {
write!(w, "(")?;
for (i, field) in fields.iter().enumerate() {
if i > 0 {