Remove FIXME

Co-authored-by: Joshua Nelson <jyn514@gmail.com>
This commit is contained in:
Camelid 2020-12-30 16:29:47 -08:00
parent 75705ab3a9
commit 6c86ebab74

View File

@ -768,7 +768,6 @@ impl<'a, 'tcx> DocFolder for LinkCollector<'a, 'tcx> {
use rustc_middle::ty::DefIdTree; use rustc_middle::ty::DefIdTree;
let parent_node = if item.is_fake() { let parent_node = if item.is_fake() {
// FIXME: is this correct?
None None
} else { } else {
find_nearest_parent_module(self.cx.tcx, item.def_id) find_nearest_parent_module(self.cx.tcx, item.def_id)