fix #[cfg(test)] warnings

This commit is contained in:
Jorge Aparicio
2015-01-26 22:56:50 -05:00
parent 92ff8ea528
commit 57dd4ea78d
7 changed files with 5 additions and 11 deletions

View File

@@ -444,7 +444,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>>>());
}