Finalize impl Grammar
This commit is contained in:
@@ -141,7 +141,7 @@ impl ast::UseTreeList {
|
||||
}
|
||||
}
|
||||
|
||||
impl ast::ImplDef {
|
||||
impl ast::Impl {
|
||||
pub fn target_type(&self) -> Option<ast::TypeRef> {
|
||||
match self.target() {
|
||||
(Some(t), None) | (_, Some(t)) => Some(t),
|
||||
@@ -486,5 +486,5 @@ impl ast::DocCommentsOwner for ast::Module {}
|
||||
impl ast::DocCommentsOwner for ast::Static {}
|
||||
impl ast::DocCommentsOwner for ast::Const {}
|
||||
impl ast::DocCommentsOwner for ast::TypeAlias {}
|
||||
impl ast::DocCommentsOwner for ast::ImplDef {}
|
||||
impl ast::DocCommentsOwner for ast::Impl {}
|
||||
impl ast::DocCommentsOwner for ast::MacroCall {}
|
||||
|
||||
Reference in New Issue
Block a user