drop obsolete fixme

This commit is contained in:
Aleksey Kladov 2019-04-13 11:21:32 +03:00
parent 4f8dc1b9f0
commit d387bdccba
2 changed files with 4 additions and 5 deletions

View file

@ -37,7 +37,6 @@ pub(crate) struct ScopeData {
}
impl ExprScopes {
// FIXME: This should take something more general than Function
pub(crate) fn expr_scopes_query(db: &impl HirDatabase, def: DefWithBody) -> Arc<ExprScopes> {
let body = db.body_hir(def);
let res = ExprScopes::new(body);