aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/assists/move_bounds.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-09-25 12:35:26 +0100
committerAleksey Kladov <[email protected]>2019-09-25 12:35:26 +0100
commit69689625ce4465f2d008d6543553d0d91d53dca4 (patch)
tree3e3f08ada8011f300faae3966cbe61a4a7dd7377 /crates/ra_assists/src/assists/move_bounds.rs
parentf32081fa185b3a9df021f277c2c27fbd123d0951 (diff)
move ast builder to a separate file
Diffstat (limited to 'crates/ra_assists/src/assists/move_bounds.rs')
-rw-r--r--crates/ra_assists/src/assists/move_bounds.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_assists/src/assists/move_bounds.rs b/crates/ra_assists/src/assists/move_bounds.rs
index 526de1d98..aa9036fed 100644
--- a/crates/ra_assists/src/assists/move_bounds.rs
+++ b/crates/ra_assists/src/assists/move_bounds.rs
@@ -6,7 +6,7 @@ use ra_syntax::{
6 TextRange, 6 TextRange,
7}; 7};
8 8
9use crate::{ast_editor::AstBuilder, Assist, AssistCtx, AssistId}; 9use crate::{ast_builder::AstBuilder, Assist, AssistCtx, AssistId};
10 10
11pub(crate) fn move_bounds_to_where_clause(mut ctx: AssistCtx<impl HirDatabase>) -> Option<Assist> { 11pub(crate) fn move_bounds_to_where_clause(mut ctx: AssistCtx<impl HirDatabase>) -> Option<Assist> {
12 let type_param_list = ctx.node_at_offset::<ast::TypeParamList>()?; 12 let type_param_list = ctx.node_at_offset::<ast::TypeParamList>()?;