diff options
Diffstat (limited to 'src/libextra/smallintmap.rs')
| -rw-r--r-- | src/libextra/smallintmap.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libextra/smallintmap.rs b/src/libextra/smallintmap.rs index 794b25c2e38..0ca0ff66039 100644 --- a/src/libextra/smallintmap.rs +++ b/src/libextra/smallintmap.rs @@ -265,7 +265,7 @@ mod test_map { assert!(m.insert(5, 14)); let new = 100; match m.find_mut(&5) { - None => fail2!(), Some(x) => *x = new + None => fail!(), Some(x) => *x = new } assert_eq!(m.find(&5), Some(&new)); } |
