diff options
| author | Youngmin Yoo <youngmin.yoo@samsung.com> | 2013-05-08 17:17:21 +0900 |
|---|---|---|
| committer | Youngmin Yoo <youngmin.yoo@samsung.com> | 2013-05-09 14:17:18 +0900 |
| commit | 472d9f33df5971d0b39c1c7dcb54f60ee8a4e383 (patch) | |
| tree | 2342f0fc2afb7393787924f8b4506cf14db47bee | |
| parent | 9a292b3da5585f0230ed5d0e198531b87633b832 (diff) | |
| download | rust-472d9f33df5971d0b39c1c7dcb54f60ee8a4e383.tar.gz rust-472d9f33df5971d0b39c1c7dcb54f60ee8a4e383.zip | |
librustdoc: rename vec::each(var) to var.each
| -rw-r--r-- | src/librustdoc/markdown_pass.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/markdown_pass.rs b/src/librustdoc/markdown_pass.rs index 16b84190ee3..e376e4afa5c 100644 --- a/src/librustdoc/markdown_pass.rs +++ b/src/librustdoc/markdown_pass.rs @@ -276,7 +276,7 @@ fn write_desc( } fn write_sections(ctxt: &Ctxt, sections: &[doc::Section]) { - for vec::each(sections) |section| { + for sections.each |section| { write_section(ctxt, copy *section); } } @@ -439,7 +439,7 @@ fn write_variants( write_header_(ctxt, H4, ~"Variants"); - for vec::each(docs) |variant| { + for docs.each |variant| { write_variant(ctxt, copy *variant); } @@ -465,7 +465,7 @@ fn write_trait(ctxt: &Ctxt, doc: doc::TraitDoc) { } fn write_methods(ctxt: &Ctxt, docs: &[doc::MethodDoc]) { - for vec::each(docs) |doc| { + for docs.each |doc| { write_method(ctxt, copy *doc); } } |
