about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/any.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/any.rs b/src/libstd/any.rs
index 76996c0dede..e02bf9f4ba8 100644
--- a/src/libstd/any.rs
+++ b/src/libstd/any.rs
@@ -207,7 +207,7 @@ mod tests {
 
     #[test]
     fn type_id_hash() {
-        let (a, b) = (TypeId::of::<uint>(), TypeId::of::<uint>::());
+        let (a, b) = (TypeId::of::<uint>(), TypeId::of::<uint>());
 
         assert_eq!(a.hash(), b.hash());
     }