Clean up a bit

This commit is contained in:
Florian Diebold 2019-02-09 11:15:02 +01:00
parent 50fd860471
commit e91a46eb0c
3 changed files with 1 additions and 4 deletions

1
Cargo.lock generated
View file

@ -1051,7 +1051,6 @@ version = "0.1.0"
dependencies = [
"cargo_metadata 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
"failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
"failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
"ra_arena 0.1.0",
"ra_db 0.1.0",

View file

@ -8,9 +8,7 @@ authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"]
log = "0.4.5"
rustc-hash = "1.0"
# TODO get rid of these?
failure = "0.1.4"
failure_derive = "0.1.4"
walkdir = "2.2.7"

View file

@ -13,7 +13,7 @@ pub use crate::{
sysroot::Sysroot,
};
// TODO use own error enum?
// TODO use proper error enum
pub type Result<T> = ::std::result::Result<T, ::failure::Error>;
#[derive(Debug, Clone)]