about summary refs log tree commit diff
path: root/src/libcore/iter.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-03-26 08:58:20 -0700
committerbors <bors@rust-lang.org>2013-03-26 08:58:20 -0700
commitde7d5589441d4f0fe8c4f083b6fa9dbfac451398 (patch)
treeb44a54e85f3dab2c6764cf4d313b98768bbaeb25 /src/libcore/iter.rs
parent74fb263f7a8d385635e0861593ce6d72d0e5ec10 (diff)
parente1dccf9a7362d0537b92f6c642a00e3c716c7b60 (diff)
auto merge of #5553 : pnkfelix/rust/doc-fixes-for-0.6-incoming, r=sanxiyn
Diffstat (limited to 'src/libcore/iter.rs')
-rw-r--r--src/libcore/iter.rs3
1 files changed, 2 insertions, 1 deletions
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<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 {