Docify std::vec_ng

I also removed a couple of methods that were silly and added sort.
This commit is contained in:
Steven Fackler
2014-03-16 16:04:29 -07:00
parent 87e72c3812
commit 0f2d46f396
10 changed files with 623 additions and 43 deletions

View File

@@ -60,7 +60,7 @@ pub fn expand_meta_deriving(cx: &mut ExtCtxt,
cx.span_warn(mitem.span, "empty trait list in `deriving`");
}
MetaList(_, ref titems) => {
for &titem in titems.rev_iter() {
for &titem in titems.iter().rev() {
match titem.node {
MetaNameValue(ref tname, _) |
MetaList(ref tname, _) |