From 98baa9b569b49162392ed4149dd435854fe941b8 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 12 Aug 2020 16:22:05 +0200 Subject: Rename ra_arena --- crates/ra_prof/Cargo.toml | 2 +- crates/ra_prof/src/tree.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/ra_prof') diff --git a/crates/ra_prof/Cargo.toml b/crates/ra_prof/Cargo.toml index c82b9f76d..9880c587f 100644 --- a/crates/ra_prof/Cargo.toml +++ b/crates/ra_prof/Cargo.toml @@ -10,7 +10,7 @@ license = "MIT OR Apache-2.0" doctest = false [dependencies] -ra_arena = { path = "../ra_arena" } +arena = { path = "../arena" } once_cell = "1.3.1" backtrace = { version = "0.3.44", optional = true } cfg-if = "0.1.10" 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 @@ //! A simple tree implementation which tries to not allocate all over the place. use std::ops; -use ra_arena::Arena; +use arena::Arena; #[derive(Default)] pub struct Tree { @@ -9,7 +9,7 @@ pub struct Tree { current_path: Vec<(Idx, Option>)>, } -pub type Idx = ra_arena::Idx>; +pub type Idx = arena::Idx>; impl Tree { pub fn start(&mut self) -- cgit v1.2.3