diff --git a/tree_arena/src/tree_arena_unsafe.rs b/tree_arena/src/tree_arena_unsafe.rs index e3526742d..b3c71b271 100644 --- a/tree_arena/src/tree_arena_unsafe.rs +++ b/tree_arena/src/tree_arena_unsafe.rs @@ -196,7 +196,6 @@ impl DataMap { /// /// If there is no path from `start_id` to id, returns the empty vector. fn get_id_path(&self, id: NodeId, start_id: Option) -> Vec { - let id: NodeId = id.into(); let mut path = Vec::new(); if !self.parents.contains_key(&id) {