mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
ast::DocCommentsOwner
which represents a documentation comment owner
This commit is contained in:
parent
64ce895ef0
commit
d2bcd1a386
3 changed files with 20 additions and 0 deletions
|
@ -864,6 +864,7 @@ impl<'a> AstNode<'a> for FnDef<'a> {
|
|||
impl<'a> ast::NameOwner<'a> for FnDef<'a> {}
|
||||
impl<'a> ast::TypeParamsOwner<'a> for FnDef<'a> {}
|
||||
impl<'a> ast::AttrsOwner<'a> for FnDef<'a> {}
|
||||
impl<'a> ast::DocCommentsOwner<'a> for FnDef<'a> {}
|
||||
impl<'a> FnDef<'a> {
|
||||
pub fn param_list(self) -> Option<ParamList<'a>> {
|
||||
super::child_opt(self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue