diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-12-10 21:16:20 -0800 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-12-10 21:16:20 -0800 |
| commit | f675b97ddc3d85498473bb4da7f95b8942ebbd81 (patch) | |
| tree | d1d54750a5cbafb8421cd668e4574050734e4cab /src/libsyntax | |
| parent | e7dd3af970b44c09a429d02d60fd44b9f8ec45bd (diff) | |
| parent | a0d7b961706f1f808e7dd244e8bbd9515c073196 (diff) | |
| download | rust-f675b97ddc3d85498473bb4da7f95b8942ebbd81.tar.gz rust-f675b97ddc3d85498473bb4da7f95b8942ebbd81.zip | |
Merge pull request #4144 from luqmana/deprecated-attribute
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> { |
