diff --git a/crates/ra_hir_def/src/body.rs b/crates/ra_hir_def/src/body.rs index 45a36d7935d..d77ccb272ac 100644 --- a/crates/ra_hir_def/src/body.rs +++ b/crates/ra_hir_def/src/body.rs @@ -1,4 +1,5 @@ -//! FIXME: write short doc here +//! Defines `Body`: a lowered representation of bodies of functions, statics and +//! consts. mod lower; pub mod scope; diff --git a/crates/ra_hir_def/src/body/lower.rs b/crates/ra_hir_def/src/body/lower.rs index f4640dfa4f6..331736cb23a 100644 --- a/crates/ra_hir_def/src/body/lower.rs +++ b/crates/ra_hir_def/src/body/lower.rs @@ -1,4 +1,5 @@ -//! FIXME: write short doc here +//! Transforms `ast::Expr` into an equivalent `hir_def::expr::Expr` +//! representation. use hir_expand::{ either::Either,