aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2019-02-09 10:15:02 +0000
committerFlorian Diebold <[email protected]>2019-02-09 10:15:25 +0000
commite91a46eb0c4a355af25656d77dead55c2e29258e (patch)
treeee3cef56bd9738f5c3b98caae9b8ce1b8dbf401f
parent50fd860471f577e9bb7536e74eb181c055033183 (diff)
Clean up a bit
-rw-r--r--Cargo.lock1
-rw-r--r--crates/ra_project_model/Cargo.toml2
-rw-r--r--crates/ra_project_model/src/lib.rs2
3 files changed, 1 insertions, 4 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 2c554ec10..56acb9a30 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1051,7 +1051,6 @@ version = "0.1.0"
1051dependencies = [ 1051dependencies = [
1052 "cargo_metadata 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", 1052 "cargo_metadata 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
1053 "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 1053 "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
1054 "failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
1055 "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", 1054 "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
1056 "ra_arena 0.1.0", 1055 "ra_arena 0.1.0",
1057 "ra_db 0.1.0", 1056 "ra_db 0.1.0",
diff --git a/crates/ra_project_model/Cargo.toml b/crates/ra_project_model/Cargo.toml
index 9cdf2b322..90f8b8398 100644
--- a/crates/ra_project_model/Cargo.toml
+++ b/crates/ra_project_model/Cargo.toml
@@ -8,9 +8,7 @@ authors = ["Aleksey Kladov <[email protected]>"]
8log = "0.4.5" 8log = "0.4.5"
9rustc-hash = "1.0" 9rustc-hash = "1.0"
10 10
11# TODO get rid of these?
12failure = "0.1.4" 11failure = "0.1.4"
13failure_derive = "0.1.4"
14 12
15walkdir = "2.2.7" 13walkdir = "2.2.7"
16 14
diff --git a/crates/ra_project_model/src/lib.rs b/crates/ra_project_model/src/lib.rs
index 156af9e7a..3b1e07149 100644
--- a/crates/ra_project_model/src/lib.rs
+++ b/crates/ra_project_model/src/lib.rs
@@ -13,7 +13,7 @@ pub use crate::{
13 sysroot::Sysroot, 13 sysroot::Sysroot,
14}; 14};
15 15
16// TODO use own error enum? 16// TODO use proper error enum
17pub type Result<T> = ::std::result::Result<T, ::failure::Error>; 17pub type Result<T> = ::std::result::Result<T, ::failure::Error>;
18 18
19#[derive(Debug, Clone)] 19#[derive(Debug, Clone)]