Rollup merge of #32607 - tshepang:we-gots-intoiterator, r=apasel422

doc: no need for an explicit iter()
This commit is contained in:
Steve Klabnik 2016-03-30 10:16:55 -07:00
commit 709be98804
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ use vec::{self, Vec};
///
/// // We can iterate over the items in the heap, although they are returned in
/// // a random order.
/// for x in heap.iter() {
/// for x in &heap {
/// println!("{}", x);
/// }
///