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.
2 parents a2f3cc3 + c675111 commit 9dcdb63Copy full SHA for 9dcdb63
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