mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +00:00
re-fix typo
This commit is contained in:
parent
d42bdf1997
commit
b0a01f2563
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user