Address review comments
This commit is contained in:
parent
957986d056
commit
6ea4a52f47
3 changed files with 14 additions and 2 deletions
|
@ -2156,6 +2156,7 @@ pub struct Attribute {
|
|||
pub span: Span,
|
||||
}
|
||||
|
||||
// Compatibility impl to avoid churn, consider removing.
|
||||
impl std::ops::Deref for Attribute {
|
||||
type Target = AttrItem;
|
||||
fn deref(&self) -> &Self::Target { &self.item }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue