mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Use the same abstraction for attrs and docs
Doc comments *are* attributes, so there's no reason to have two crates here.
This commit is contained in:
parent
59c77ff062
commit
b45dd9ef54
5 changed files with 7 additions and 12 deletions
|
@ -32,7 +32,7 @@
|
|||
//! ```
|
||||
|
||||
use assists::utils::get_missing_assoc_items;
|
||||
use hir::{self, Docs, HasSource};
|
||||
use hir::{self, HasAttrs, HasSource};
|
||||
use syntax::{
|
||||
ast::{self, edit, Impl},
|
||||
AstNode, SyntaxKind, SyntaxNode, TextRange, T,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue