remove some compiler warnings

This commit is contained in:
Tshepang Lekhonkhobe
2015-02-28 20:07:05 +02:00
parent 8902936552
commit 55ce45e7b5
12 changed files with 25 additions and 31 deletions

View File

@@ -732,8 +732,8 @@ fn should_sort_failures_before_printing_them() {
Pretty(_) => unreachable!()
};
let apos = s.find_str("a").unwrap();
let bpos = s.find_str("b").unwrap();
let apos = s.find("a").unwrap();
let bpos = s.find("b").unwrap();
assert!(apos < bpos);
}