aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_prof/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_prof/src')
-rw-r--r--crates/ra_prof/src/tree.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_prof/src/tree.rs b/crates/ra_prof/src/tree.rs
index 9ea5b5db8..096f58511 100644
--- a/crates/ra_prof/src/tree.rs
+++ b/crates/ra_prof/src/tree.rs
@@ -1,7 +1,7 @@
1//! A simple tree implementation which tries to not allocate all over the place. 1//! A simple tree implementation which tries to not allocate all over the place.
2use std::ops; 2use std::ops;
3 3
4use ra_arena::Arena; 4use arena::Arena;
5 5
6#[derive(Default)] 6#[derive(Default)]
7pub struct Tree<T> { 7pub struct Tree<T> {
@@ -9,7 +9,7 @@ pub struct Tree<T> {
9 current_path: Vec<(Idx<T>, Option<Idx<T>>)>, 9 current_path: Vec<(Idx<T>, Option<Idx<T>>)>,
10} 10}
11 11
12pub type Idx<T> = ra_arena::Idx<Node<T>>; 12pub type Idx<T> = arena::Idx<Node<T>>;
13 13
14impl<T> Tree<T> { 14impl<T> Tree<T> {
15 pub fn start(&mut self) 15 pub fn start(&mut self)