diff options
| author | bors <bors@rust-lang.org> | 2015-02-01 15:49:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-02-01 15:49:20 +0000 |
| commit | 76ce1ea42158b5be3f3896df708602918d202947 (patch) | |
| tree | 8357bcddf56dc627177705484c92ac8fa1e9b804 /src/libstd/collections | |
| parent | 0ab8d5dadd72b8d44cc79a1756c0a00fec619efa (diff) | |
| parent | b4a43f3864e394959a7d3c3efae6da85bdc59c71 (diff) | |
Auto merge of #21811 - tbu-:pr_more_isize, r=alexcrichton
Remove more `isize` stuff. Also fix the manual a bit about integer inference.
Diffstat (limited to 'src/libstd/collections')
| -rw-r--r-- | src/libstd/collections/hash/set.rs | 4 |
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); } } } |
