mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Add docs to struct fields
This commit is contained in:
parent
55906341a6
commit
7a0bc2dd64
6 changed files with 26 additions and 8 deletions
|
@ -2248,6 +2248,7 @@ impl ToOwned for NamedFieldDef {
|
|||
impl ast::VisibilityOwner for NamedFieldDef {}
|
||||
impl ast::NameOwner for NamedFieldDef {}
|
||||
impl ast::AttrsOwner for NamedFieldDef {}
|
||||
impl ast::DocCommentsOwner for NamedFieldDef {}
|
||||
impl NamedFieldDef {
|
||||
pub fn type_ref(&self) -> Option<&TypeRef> {
|
||||
super::child_opt(self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue