We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 424a749 commit c675111Copy full SHA for c675111
src/librustdoc/clean/mod.rs
@@ -3632,7 +3632,7 @@ fn name_from_pat(p: &hir::Pat) -> String {
3632
fields.iter().map(|&Spanned { node: ref fp, .. }|
3633
format!("{}: {}", fp.ident, name_from_pat(&*fp.pat)))
3634
.collect::<Vec<String>>().join(", "),
3635
- if etc { ", ..." } else { "" }
+ if etc { ", .." } else { "" }
3636
)
3637
}
3638
PatKind::Tuple(ref elts, _) => format!("({})", elts.iter().map(|p| name_from_pat(&**p))
0 commit comments