Record default implementations in a separate step

This commit is contained in:
Flavio Percoco
2015-02-20 15:46:50 +01:00
parent 3ebc2abc6a
commit 6d1844c806
8 changed files with 43 additions and 12 deletions

View File

@@ -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
{