diff options
author | Jeremy A. Kolb <[email protected]> | 2019-01-23 20:59:19 +0000 |
---|---|---|
committer | Jeremy A. Kolb <[email protected]> | 2019-01-23 21:23:21 +0000 |
commit | 6a6ce2bc959c346aed7a98c8509d1aa3d19ec8a9 (patch) | |
tree | a860d95afb552d114734139e1dd5d2ab754636ab /crates/ra_syntax/src/ast/generated.rs | |
parent | bf9cd6ee30b3044b61e99e24e82fad56d3965417 (diff) |
Make EnumVariant a DocCommentsOwner
Diffstat (limited to 'crates/ra_syntax/src/ast/generated.rs')
-rw-r--r-- | crates/ra_syntax/src/ast/generated.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs index 9fe946172..ac6c8a835 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs | |||
@@ -632,6 +632,7 @@ impl AstNode for EnumVariant { | |||
632 | 632 | ||
633 | 633 | ||
634 | impl ast::NameOwner for EnumVariant {} | 634 | impl ast::NameOwner for EnumVariant {} |
635 | impl ast::DocCommentsOwner for EnumVariant {} | ||
635 | impl EnumVariant { | 636 | impl EnumVariant { |
636 | pub fn expr(&self) -> Option<&Expr> { | 637 | pub fn expr(&self) -> Option<&Expr> { |
637 | super::child_opt(self) | 638 | super::child_opt(self) |