diff options
author | Aleksey Kladov <[email protected]> | 2021-01-14 15:47:42 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-01-14 16:06:02 +0000 |
commit | 4c4e54ac8a9782439744fe15aa31a3bedab92b74 (patch) | |
tree | 6f1653b0d60298cd2932fe7c3ba4cc802f7e8b14 /crates/profile/src | |
parent | aeacaeed4e49dd71ba0de30a21d9f3d1cc153cec (diff) |
prepare to publish el libro de arena
Diffstat (limited to 'crates/profile/src')
-rw-r--r-- | crates/profile/src/tree.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/profile/src/tree.rs b/crates/profile/src/tree.rs index 3fac1f36c..62f0c30b5 100644 --- a/crates/profile/src/tree.rs +++ b/crates/profile/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. |
2 | use std::ops; | 2 | use std::ops; |
3 | 3 | ||
4 | use arena::Arena; | 4 | use la_arena::Arena; |
5 | 5 | ||
6 | #[derive(Default)] | 6 | #[derive(Default)] |
7 | pub(crate) struct Tree<T> { | 7 | pub(crate) struct Tree<T> { |
@@ -9,7 +9,7 @@ pub(crate) 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 | ||
12 | pub(crate) type Idx<T> = arena::Idx<Node<T>>; | 12 | pub(crate) type Idx<T> = la_arena::Idx<Node<T>>; |
13 | 13 | ||
14 | impl<T> Tree<T> { | 14 | impl<T> Tree<T> { |
15 | pub(crate) fn start(&mut self) | 15 | pub(crate) fn start(&mut self) |