Rollup merge of 21681 - japaric:no-warn, r=alexcrichton

This commit is contained in:
Manish Goregaokar
2015-01-29 03:14:35 +05:30
7 changed files with 5 additions and 11 deletions

View File

@@ -447,7 +447,7 @@ mod tests {
use super::*;
fn same(fmt: &'static str, p: &[Piece<'static>]) {
let mut parser = Parser::new(fmt);
let parser = Parser::new(fmt);
assert!(p == parser.collect::<Vec<Piece<'static>>>());
}