Revert "Merge pull request #4144 from luqmana/deprecated-attribute"

This reverts commit f675b97ddc, reversing
changes made to e7dd3af970.
This commit is contained in:
Tim Chevalier
2012-12-11 12:27:37 -08:00
parent 1abad3b4e6
commit 94a76843f4
3 changed files with 1 additions and 38 deletions

View File

@@ -182,7 +182,7 @@ fn find_attrs_by_name(attrs: ~[ast::attribute], name: ~str) ->
return vec::filter_map(attrs, filter);
}
/// Search a list of meta items and return only those with a specific name
/// Searcha list of meta items and return only those with a specific name
fn find_meta_items_by_name(metas: ~[@ast::meta_item], name: ~str) ->
~[@ast::meta_item] {
let filter = fn@(m: &@ast::meta_item) -> Option<@ast::meta_item> {