Remove some ancient code providing special support for newtypes
This commit is contained in:
parent
c87ba3f122
commit
4b6c4c08df
7 changed files with 16 additions and 56 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue