Add small module-level docs

This commit is contained in:
Aleksey Kladov 2019-11-04 00:11:37 +03:00
parent f0eb9cc6e6
commit 8922a44395
4 changed files with 18 additions and 6 deletions

View file

@ -1,3 +1,8 @@
//! Utility module for converting between hir_def ids and code_model wrappers.
//!
//! It's unclear if we need this long-term, but it's definitelly useful while we
//! are splitting the hir.
use hir_def::{AdtId, EnumVariantId, ModuleDefId};
use crate::{Adt, EnumVariant, ModuleDef};