about summary refs log tree commit diff
path: root/src/libcollectionstest/linked_list.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcollectionstest/linked_list.rs')
-rw-r--r--src/libcollectionstest/linked_list.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libcollectionstest/linked_list.rs b/src/libcollectionstest/linked_list.rs
index d04ce574ed0..7dac967d803 100644
--- a/src/libcollectionstest/linked_list.rs
+++ b/src/libcollectionstest/linked_list.rs
@@ -9,7 +9,6 @@
 // except according to those terms.
 
 use std::collections::LinkedList;
-use std::hash::{SipHasher, self};
 
 use test;
 
@@ -257,7 +256,7 @@ fn test_hash() {
   let mut x = LinkedList::new();
   let mut y = LinkedList::new();
 
-  assert!(hash::hash::<_, SipHasher>(&x) == hash::hash::<_, SipHasher>(&y));
+  assert!(::hash(&x) == ::hash(&y));
 
   x.push_back(1);
   x.push_back(2);
@@ -267,7 +266,7 @@ fn test_hash() {
   y.push_front(2);
   y.push_front(1);
 
-  assert!(hash::hash::<_, SipHasher>(&x) == hash::hash::<_, SipHasher>(&y));
+  assert!(::hash(&x) == ::hash(&y));
 }
 
 #[test]