Skip to content

Commit 3bf24d6

Browse files
author
Jorge Aparicio
committed
test: fix fallout
1 parent ab6b651 commit 3bf24d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libtest/stats.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ pub fn write_boxplot<W: Writer, T: Float + Show + FromPrimitive>(
438438

439439
/// Returns a HashMap with the number of occurrences of every element in the
440440
/// sequence that the iterator exposes.
441-
pub fn freq_count<T: Iterator<U>, U: Eq+Hash>(mut iter: T) -> hash_map::HashMap<U, uint> {
441+
pub fn freq_count<T: Iterator<Item=U>, U: Eq+Hash>(mut iter: T) -> hash_map::HashMap<U, uint> {
442442
let mut map: hash_map::HashMap<U,uint> = hash_map::HashMap::new();
443443
for elem in iter {
444444
match map.entry(elem) {

0 commit comments

Comments
 (0)