Address review comments

This commit is contained in:
Vadim Petrochenkov 2019-10-01 00:58:30 +03:00
parent 957986d056
commit 6ea4a52f47
3 changed files with 14 additions and 2 deletions

View file

@ -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 }