From e244f103c9622ef0d13b138ec6f8425840201def Mon Sep 17 00:00:00 2001 From: Luqman Aden Date: Fri, 15 Feb 2013 01:15:53 -0800 Subject: libsyntax: Get rid of uses of `move` and don't parse it. --- src/libsyntax/attr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/attr.rs') diff --git a/src/libsyntax/attr.rs b/src/libsyntax/attr.rs index e3d1fb9781b..893647ca9ad 100644 --- a/src/libsyntax/attr.rs +++ b/src/libsyntax/attr.rs @@ -270,7 +270,7 @@ pub fn sort_meta_items(+items: ~[@ast::meta_item]) -> ~[@ast::meta_item] { // This is sort of stupid here, converting to a vec of mutables and back let mut v: ~[@ast::meta_item] = items; std::sort::quick_sort(v, lteq); - move v + v } pub fn remove_meta_items_by_name(items: ~[@ast::meta_item], name: ~str) -> -- cgit 1.4.1-3-g733a5