Remove unused function.
This commit is contained in:
parent
12b39e5912
commit
6b7995195a
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user