diff options
| author | Flavio Percoco <flaper87@gmail.com> | 2015-02-20 15:46:50 +0100 |
|---|---|---|
| committer | Flavio Percoco <flaper87@gmail.com> | 2015-02-22 02:14:27 +0100 |
| commit | 6d1844c8065c5c680b0a86c83152902b47bc856c (patch) | |
| tree | 4d5516842784059f71930f6a143bd2fe9d9d64a7 /src/libtest | |
| parent | 3ebc2abc6affd826c564630c036f4aa24c4fbe53 (diff) | |
Record default implementations in a separate step
Diffstat (limited to 'src/libtest')
| -rw-r--r-- | src/libtest/stats.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libtest/stats.rs b/src/libtest/stats.rs index 4e94be59ade..7cc07e926b2 100644 --- a/src/libtest/stats.rs +++ b/src/libtest/stats.rs @@ -332,6 +332,7 @@ pub fn winsorize<T: Float + FromPrimitive>(samples: &mut [T], pct: T) { /// Returns a HashMap with the number of occurrences of every element in the /// sequence that the iterator exposes. +#[cfg(not(stage0))] pub fn freq_count<T, U>(iter: T) -> hash_map::HashMap<U, uint> where T: Iterator<Item=U>, U: Eq + Clone + Hash { |
