diff options
| author | Luqman Aden <laden@csclub.uwaterloo.ca> | 2012-12-09 02:26:12 -0500 |
|---|---|---|
| committer | Luqman Aden <laden@csclub.uwaterloo.ca> | 2012-12-09 02:26:12 -0500 |
| commit | 4b4c8331bbdb3181fa87cfd90c665918e3834558 (patch) | |
| tree | 7c529054ebb96ddd7c1963af034a3da35a2ad802 /src/libsyntax | |
| parent | 42f8a3366a8e687ac1df804f41cfe1d980ce9987 (diff) | |
| download | rust-4b4c8331bbdb3181fa87cfd90c665918e3834558.tar.gz rust-4b4c8331bbdb3181fa87cfd90c665918e3834558.zip | |
Add deprecated attribute.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/attr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/attr.rs b/src/libsyntax/attr.rs index 81b6357c6ae..aadea886407 100644 --- a/src/libsyntax/attr.rs +++ b/src/libsyntax/attr.rs @@ -182,7 +182,7 @@ fn find_attrs_by_name(attrs: ~[ast::attribute], name: ~str) -> return vec::filter_map(attrs, filter); } -/// Searcha list of meta items and return only those with a specific name +/// Search a 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> { |
