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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user