diff options
author | Aleksey Kladov <[email protected]> | 2019-01-10 21:40:35 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-10 21:51:34 +0000 |
commit | 4bf6b91b9dea117647a4120f404a2f0067041035 (patch) | |
tree | 2e5eeac4823896b371c64da5b5826cef6f5eaa02 | |
parent | cd00158b1db9dd8565d2db08b4b0ebab9d5c00b3 (diff) |
minor
-rw-r--r-- | crates/ra_lsp_server/src/project_model.rs | 4 | ||||
-rw-r--r-- | crates/ra_lsp_server/src/project_model/cargo_workspace.rs | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/crates/ra_lsp_server/src/project_model.rs b/crates/ra_lsp_server/src/project_model.rs index 3d02c6549..fd5875a0a 100644 --- a/crates/ra_lsp_server/src/project_model.rs +++ b/crates/ra_lsp_server/src/project_model.rs | |||
@@ -1,9 +1,7 @@ | |||
1 | mod cargo_workspace; | 1 | mod cargo_workspace; |
2 | mod sysroot; | 2 | mod sysroot; |
3 | 3 | ||
4 | use std::{ | 4 | use std::path::{Path, PathBuf}; |
5 | path::{Path, PathBuf}, | ||
6 | }; | ||
7 | 5 | ||
8 | use failure::bail; | 6 | use failure::bail; |
9 | use thread_worker::{WorkerHandle, Worker}; | 7 | use thread_worker::{WorkerHandle, Worker}; |
diff --git a/crates/ra_lsp_server/src/project_model/cargo_workspace.rs b/crates/ra_lsp_server/src/project_model/cargo_workspace.rs index 138fdee22..8f7518860 100644 --- a/crates/ra_lsp_server/src/project_model/cargo_workspace.rs +++ b/crates/ra_lsp_server/src/project_model/cargo_workspace.rs | |||
@@ -1,6 +1,4 @@ | |||
1 | use std::{ | 1 | use std::path::{Path, PathBuf}; |
2 | path::{Path, PathBuf}, | ||
3 | }; | ||
4 | 2 | ||
5 | use cargo_metadata::{metadata_run, CargoOpt}; | 3 | use cargo_metadata::{metadata_run, CargoOpt}; |
6 | use ra_syntax::SmolStr; | 4 | use ra_syntax::SmolStr; |