From 4d7fa6d30b89523aa4037cac61e10b8213ac4c04 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 17 Mar 2019 12:06:30 +0300 Subject: remove fixme --- crates/ra_hir/src/nameres/collector.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crates') diff --git a/crates/ra_hir/src/nameres/collector.rs b/crates/ra_hir/src/nameres/collector.rs index 9992e054d..12ed49a0a 100644 --- a/crates/ra_hir/src/nameres/collector.rs +++ b/crates/ra_hir/src/nameres/collector.rs @@ -136,8 +136,7 @@ where .as_ident() .expect("extern crate should have been desugared to one-element path"), ); - // FIXME: why do we return No here? - (res, if res.is_none() { ReachedFixedPoint::No } else { ReachedFixedPoint::Yes }) + (res, ReachedFixedPoint::Yes) } else { let res = self.def_map.resolve_path_fp(self.db, ResolveMode::Import, module_id, &import.path); -- cgit v1.2.3