Remove unused function.

This commit is contained in:
Camille GILLOT 2021-10-11 22:36:46 +02:00
parent 12b39e5912
commit 6b7995195a

View file

@ -92,12 +92,6 @@ impl DefPathTable {
.iter_enumerated() .iter_enumerated()
.map(move |(index, key)| (index, key, &self.def_path_hashes[index])) .map(move |(index, key)| (index, key, &self.def_path_hashes[index]))
} }
pub fn all_def_path_hashes_and_def_ids(
&self,
) -> impl Iterator<Item = (&DefPathHash, DefIndex)> + '_ {
self.def_path_hashes.iter_enumerated().map(move |(index, hash)| (hash, index))
}
} }
/// The definition table containing node definitions. /// The definition table containing node definitions.