less verbose debug for library data

This commit is contained in:
Aleksey Kladov 2018-12-22 11:57:42 +03:00
parent 2639997973
commit 94241cec04
2 changed files with 14 additions and 1 deletions

View file

@ -56,6 +56,10 @@ impl Hash for SymbolIndex {
}
impl SymbolIndex {
pub(crate) fn len(&self) -> usize {
self.symbols.len()
}
pub(crate) fn for_files(
files: impl ParallelIterator<Item = (FileId, SourceFileNode)>,
) -> SymbolIndex {