From a266bda393ecbea53a040763eb94afe57a259a7c Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Mon, 25 Mar 2013 15:22:19 +0100 Subject: [PATCH] Fixes mozilla/rust#3612. --- src/libcore/iter.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libcore/iter.rs b/src/libcore/iter.rs index f94c62d23ec..58a514dc0ee 100644 --- a/src/libcore/iter.rs +++ b/src/libcore/iter.rs @@ -284,7 +284,8 @@ pub fn build_sized_opt>(size: Option, // 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,U,BU: Buildable>(v: &IT, f: &fn(&T) -> U) -> BU {