{"ast_node_type":"function","tokens":[{"end":61,"kind":"keyword","start":0,"text":"pub(crate)"}]}
    pub(crate) fn snapshot(&mut self) -> IndexVec<Key, Key> {
    /// the form of a vector that directly maps each key to its current root.
        self.table.indices().map(|key| self.find(key)).collect()