aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/handlers/add_custom_impl.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-03-19 11:37:00 +0000
committerGitHub <[email protected]>2020-03-19 11:37:00 +0000
commit774043759f2946daa502a46e9cc1fc43c5e9b432 (patch)
tree34d7998fd43c0723fce407041c2b0ee9f2580001 /crates/ra_assists/src/handlers/add_custom_impl.rs
parent525feb0acd1916f635dbfe65592123bb2844a9ee (diff)
parent7e2bca4ec356655fe47d50b466c34c34e7cae565 (diff)
Merge #3652
3652: Cleanup imports r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_assists/src/handlers/add_custom_impl.rs')
-rw-r--r--crates/ra_assists/src/handlers/add_custom_impl.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_assists/src/handlers/add_custom_impl.rs b/crates/ra_assists/src/handlers/add_custom_impl.rs
index 74aa4b001..dd2bed25a 100644
--- a/crates/ra_assists/src/handlers/add_custom_impl.rs
+++ b/crates/ra_assists/src/handlers/add_custom_impl.rs
@@ -1,7 +1,5 @@
1//! FIXME: write short doc here 1//! FIXME: write short doc here
2 2
3use crate::{Assist, AssistCtx, AssistId};
4
5use join_to_string::join; 3use join_to_string::join;
6use ra_syntax::{ 4use ra_syntax::{
7 ast::{self, AstNode}, 5 ast::{self, AstNode},
@@ -10,6 +8,8 @@ use ra_syntax::{
10 TextRange, TextUnit, 8 TextRange, TextUnit,
11}; 9};
12 10
11use crate::{Assist, AssistCtx, AssistId};
12
13const DERIVE_TRAIT: &str = "derive"; 13const DERIVE_TRAIT: &str = "derive";
14 14
15// Assist: add_custom_impl 15// Assist: add_custom_impl