Skip to content

Commit a266bda

Browse files
committed
Fixes #3612.
1 parent 5b10f4e commit a266bda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libcore/iter.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,8 @@ pub fn build_sized_opt<A,B: Buildable<A>>(size: Option<uint>,
284284

285285
// Functions that combine iteration and building
286286

287-
/// Applies a function to each element of an iterable and returns the results.
287+
/// Applies a function to each element of an iterable and returns the results
288+
/// in a sequence built via `BU`. See also `map_to_vec`.
288289
#[inline(always)]
289290
pub fn map<T,IT: BaseIter<T>,U,BU: Buildable<U>>(v: &IT, f: &fn(&T) -> U)
290291
-> BU {

0 commit comments

Comments
 (0)