aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-11-03 21:11:37 +0000
committerAleksey Kladov <[email protected]>2019-11-03 21:23:14 +0000
commit8922a44395482896fec0c0a47a7fac4612112d45 (patch)
treec37d38f9313f54ea71580f6bd005f554388a57ab /crates/ra_hir
parentf0eb9cc6e66a65d2df42c662499ebd77ea980de5 (diff)
Add small module-level docs
Diffstat (limited to 'crates/ra_hir')
-rw-r--r--crates/ra_hir/src/from_id.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/ra_hir/src/from_id.rs b/crates/ra_hir/src/from_id.rs
index c08203bca..089dbc908 100644
--- a/crates/ra_hir/src/from_id.rs
+++ b/crates/ra_hir/src/from_id.rs
@@ -1,3 +1,8 @@
1//! Utility module for converting between hir_def ids and code_model wrappers.
2//!
3//! It's unclear if we need this long-term, but it's definitelly useful while we
4//! are splitting the hir.
5
1use hir_def::{AdtId, EnumVariantId, ModuleDefId}; 6use hir_def::{AdtId, EnumVariantId, ModuleDefId};
2 7
3use crate::{Adt, EnumVariant, ModuleDef}; 8use crate::{Adt, EnumVariant, ModuleDef};