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 b2f903c commit 6579d13Copy full SHA for 6579d13
src/librustc/hir/print.rs
@@ -1790,16 +1790,7 @@ impl<'a> State<'a> {
1790
self.ann.pre(self, AnnNode::Arm(arm));
1791
self.ibox(0);
1792
self.print_outer_attributes(&arm.attrs);
1793
- let mut first = true;
1794
- for p in &arm.pats {
1795
- if first {
1796
- first = false;
1797
- } else {
1798
- self.s.space();
1799
- self.word_space("|");
1800
- }
1801
- self.print_pat(&p);
1802
+ self.print_pat(&arm.pat);
1803
self.s.space();
1804
if let Some(ref g) = arm.guard {
1805
match g {
0 commit comments