diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2015-01-02 08:17:12 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2015-01-03 09:34:05 -0500 |
| commit | 3bf24d6b633132155fb623ac46f47f2bc6ea6462 (patch) | |
| tree | 3fcf646f6a79595c4a87a84748d6d155d1575f21 /src/libtest | |
| parent | ab6b6514038c4d280248e2371080d097dbe31be1 (diff) | |
| download | rust-3bf24d6b633132155fb623ac46f47f2bc6ea6462.tar.gz rust-3bf24d6b633132155fb623ac46f47f2bc6ea6462.zip | |
test: fix fallout
Diffstat (limited to 'src/libtest')
| -rw-r--r-- | src/libtest/stats.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtest/stats.rs b/src/libtest/stats.rs index ed6a00a8e91..e8ab1b54843 100644 --- a/src/libtest/stats.rs +++ b/src/libtest/stats.rs @@ -438,7 +438,7 @@ pub fn write_boxplot<W: Writer, T: Float + Show + FromPrimitive>( /// Returns a HashMap with the number of occurrences of every element in the /// sequence that the iterator exposes. -pub fn freq_count<T: Iterator<U>, U: Eq+Hash>(mut iter: T) -> hash_map::HashMap<U, uint> { +pub fn freq_count<T: Iterator<Item=U>, U: Eq+Hash>(mut iter: T) -> hash_map::HashMap<U, uint> { let mut map: hash_map::HashMap<U,uint> = hash_map::HashMap::new(); for elem in iter { match map.entry(elem) { |
