about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-08-15 17:30:15 +0000
committerbors <bors@rust-lang.org>2015-08-15 17:30:15 +0000
commit753a6a9e29d4c8b4ee92345051fef61908c276b6 (patch)
tree04fc4677ff0652f351a41bb720815dc2315f1238
parent29455557aa48d1047f274e60703edf7813fe5b6b (diff)
parent56f3282f31118c894a79d355f76765a2ca6b14ce (diff)
downloadrust-753a6a9e29d4c8b4ee92345051fef61908c276b6.tar.gz
rust-753a6a9e29d4c8b4ee92345051fef61908c276b6.zip
Auto merge of #27847 - birkenfeld:patch-3, r=sfackler
-rw-r--r--src/libcore/iter.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/iter.rs b/src/libcore/iter.rs
index 0471a08cd78..9db3bf6ec89 100644
--- a/src/libcore/iter.rs
+++ b/src/libcore/iter.rs
@@ -616,6 +616,8 @@ pub trait Iterator {
 
     /// Tests whether the predicate holds true for all elements in the iterator.
     ///
+    /// Does not consume the iterator past the first non-matching element.
+    ///
     /// # Examples
     ///
     /// ```