mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-19 08:40:24 +00:00
Replace doc_comments_and_attrs
with collect_attrs
, 2nd round
This commit is contained in:
parent
3aa6306728
commit
801c0ea478
7 changed files with 57 additions and 55 deletions
|
@ -76,9 +76,6 @@ pub trait HasDocComments: HasAttrs {
|
|||
fn doc_comments(&self) -> DocCommentIter {
|
||||
DocCommentIter { iter: self.syntax().children_with_tokens() }
|
||||
}
|
||||
fn doc_comments_and_attrs(&self) -> AttrDocCommentIter {
|
||||
AttrDocCommentIter { iter: self.syntax().children_with_tokens() }
|
||||
}
|
||||
}
|
||||
|
||||
impl DocCommentIter {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue