From 1caaa201fa55caaedaa124d23934c178bdf15b18 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Mon, 7 Dec 2020 18:49:03 +0100 Subject: Remove hir_def/docs.rs module --- crates/hir/src/attrs.rs | 5 ++++- crates/hir/src/lib.rs | 3 +-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'crates/hir/src') diff --git a/crates/hir/src/attrs.rs b/crates/hir/src/attrs.rs index fb2631b3e..1f2ee2580 100644 --- a/crates/hir/src/attrs.rs +++ b/crates/hir/src/attrs.rs @@ -1,6 +1,9 @@ //! Attributes & documentation for hir types. use hir_def::{ - attr::Attrs, docs::Documentation, path::ModPath, resolver::HasResolver, AttrDefId, ModuleDefId, + attr::{Attrs, Documentation}, + path::ModPath, + resolver::HasResolver, + AttrDefId, ModuleDefId, }; use hir_expand::hygiene::Hygiene; use hir_ty::db::HirDatabase; diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs index 93bdb4472..c7c7377d7 100644 --- a/crates/hir/src/lib.rs +++ b/crates/hir/src/lib.rs @@ -44,10 +44,9 @@ pub use crate::{ pub use hir_def::{ adt::StructKind, - attr::Attrs, + attr::{Attrs, Documentation}, body::scope::ExprScopes, builtin_type::BuiltinType, - docs::Documentation, find_path::PrefixKind, import_map, item_scope::ItemInNs, -- cgit v1.2.3