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 e85dd88 commit 310a226Copy full SHA for 310a226
src/libsyntax/print/pprust.rs
@@ -2253,7 +2253,7 @@ impl<'a> State<'a> {
2253
self.ann.post(self, NodePat(pat))
2254
}
2255
2256
- pub fn print_pats(&mut self, pats: &[ast::Pat]) -> IoResult<()> {
+ pub fn print_pats(&mut self, pats: &[P<ast::Pat>]) -> IoResult<()> {
2257
let mut first = true;
2258
for ref p in pats {
2259
if first {
@@ -2264,6 +2264,7 @@ impl<'a> State<'a> {
2264
2265
try!(self.print_pat(&**p));
2266
2267
+ Ok(())
2268
2269
2270
fn print_arm(&mut self, arm: &ast::Arm) -> IoResult<()> {
0 commit comments