diff options
author | Aleksey Kladov <[email protected]> | 2019-11-03 21:11:37 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-11-03 21:23:14 +0000 |
commit | 8922a44395482896fec0c0a47a7fac4612112d45 (patch) | |
tree | c37d38f9313f54ea71580f6bd005f554388a57ab /crates/ra_hir | |
parent | f0eb9cc6e66a65d2df42c662499ebd77ea980de5 (diff) |
Add small module-level docs
Diffstat (limited to 'crates/ra_hir')
-rw-r--r-- | crates/ra_hir/src/from_id.rs | 5 |
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 | |||
1 | use hir_def::{AdtId, EnumVariantId, ModuleDefId}; | 6 | use hir_def::{AdtId, EnumVariantId, ModuleDefId}; |
2 | 7 | ||
3 | use crate::{Adt, EnumVariant, ModuleDef}; | 8 | use crate::{Adt, EnumVariant, ModuleDef}; |