From 4bf6b91b9dea117647a4120f404a2f0067041035 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 11 Jan 2019 00:40:35 +0300 Subject: [PATCH] minor --- crates/ra_lsp_server/src/project_model.rs | 4 +--- 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 3d02c65496..fd5875a0ab 100644 --- a/crates/ra_lsp_server/src/project_model.rs +++ b/crates/ra_lsp_server/src/project_model.rs @@ -1,9 +1,7 @@ mod cargo_workspace; mod sysroot; -use std::{ - path::{Path, PathBuf}, -}; +use std::path::{Path, PathBuf}; use failure::bail; 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 138fdee226..8f75188607 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 @@ -use std::{ - path::{Path, PathBuf}, -}; +use std::path::{Path, PathBuf}; use cargo_metadata::{metadata_run, CargoOpt}; use ra_syntax::SmolStr;