Rename Attribute::tokens
(the inherent method).
To distinguish it from the `HasTokens` method.
This commit is contained in:
parent
dd790ab8ef
commit
14b859fa3b
3 changed files with 5 additions and 4 deletions
|
@ -294,7 +294,7 @@ impl<'a> StripUnconfigured<'a> {
|
|||
attr: &Attribute,
|
||||
(item, item_span): (ast::AttrItem, Span),
|
||||
) -> Attribute {
|
||||
let orig_tokens = attr.tokens();
|
||||
let orig_tokens = attr.get_tokens();
|
||||
|
||||
// We are taking an attribute of the form `#[cfg_attr(pred, attr)]`
|
||||
// and producing an attribute of the form `#[attr]`. We
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue