about summary refs log tree commit diff
path: root/src/libstd/collections
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2015-01-31 17:23:42 +0100
committerTobias Bucher <tobiasbucher5991@gmail.com>2015-01-31 17:40:40 +0100
commitb4a43f3864e394959a7d3c3efae6da85bdc59c71 (patch)
tree90ce64d37d1e616c4916281f5e1eb338d54ff7a0 /src/libstd/collections
parent105bfd30012a7d4278117e973b56c170a59fc20d (diff)
Kill more `isize`s
Diffstat (limited to 'src/libstd/collections')
-rw-r--r--src/libstd/collections/hash/set.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/collections/hash/set.rs b/src/libstd/collections/hash/set.rs
index 3095c2c0e41..c6dcb0d230f 100644
--- a/src/libstd/collections/hash/set.rs
+++ b/src/libstd/collections/hash/set.rs
@@ -1198,7 +1198,7 @@ mod test_set {
 
     #[test]
     fn test_drain() {
-        let mut s: HashSet<int> = (1is..100).collect();
+        let mut s: HashSet<i32> = (1..100).collect();
 
         // try this a bunch of times to make sure we don't screw up internal state.
         for _ in 0..20 {
@@ -1217,7 +1217,7 @@ mod test_set {
             for _ in s.iter() { panic!("s should be empty!"); }
 
             // reset to try again.
-            s.extend(1is..100);
+            s.extend(1..100);
         }
     }
 }