Trimming of stuff to get into the snapshotting mood

This commit is contained in:
Lucien Greathouse
2018-12-12 13:56:11 -08:00
parent ee0a5cada3
commit b732c43274
4 changed files with 52 additions and 68 deletions

View File

@@ -10,7 +10,7 @@ struct PathMapNode<T> {
}
/// A map from paths to instance IDs, with a bit of additional data that enables
/// removing a path and all of its child paths from the tree in constant time.
/// removing a path and all of its child paths from the tree more quickly.
#[derive(Debug)]
pub struct PathMap<T> {
nodes: HashMap<PathBuf, PathMapNode<T>>,