This commit is contained in:
Felix S. Klock II 2013-03-25 15:22:19 +01:00
parent 5b10f4e117
commit a266bda393

View File

@ -284,7 +284,8 @@ pub fn build_sized_opt<A,B: Buildable<A>>(size: Option<uint>,
// Functions that combine iteration and building
/// Applies a function to each element of an iterable and returns the results.
/// Applies a function to each element of an iterable and returns the results
/// in a sequence built via `BU`. See also `map_to_vec`.
#[inline(always)]
pub fn map<T,IT: BaseIter<T>,U,BU: Buildable<U>>(v: &IT, f: &fn(&T) -> U)
-> BU {