From 4cb82c334d98d7eb608d076fda95923647d61043 Mon Sep 17 00:00:00 2001 From: Jeremy Kolb Date: Tue, 14 Jan 2020 11:49:14 -0500 Subject: More UI friendly labels --- crates/ra_assists/src/assists/flip_binexpr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_assists/src/assists/flip_binexpr.rs') diff --git a/crates/ra_assists/src/assists/flip_binexpr.rs b/crates/ra_assists/src/assists/flip_binexpr.rs index 2d91b2a7e..808248d88 100644 --- a/crates/ra_assists/src/assists/flip_binexpr.rs +++ b/crates/ra_assists/src/assists/flip_binexpr.rs @@ -34,7 +34,7 @@ pub(crate) fn flip_binexpr(ctx: AssistCtx) -> Option { return None; } - ctx.add_assist(AssistId("flip_binexpr"), "flip binary expression", |edit| { + ctx.add_assist(AssistId("flip_binexpr"), "Flip Binary Expression", |edit| { edit.target(op_range); if let FlipAction::FlipAndReplaceOp(new_op) = action { edit.replace(op_range, new_op); -- cgit v1.2.3 From e04661e495cde89827d768788f123eafdbd43911 Mon Sep 17 00:00:00 2001 From: Jeremy Kolb Date: Tue, 14 Jan 2020 12:32:26 -0500 Subject: Fix casing --- crates/ra_assists/src/assists/flip_binexpr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_assists/src/assists/flip_binexpr.rs') diff --git a/crates/ra_assists/src/assists/flip_binexpr.rs b/crates/ra_assists/src/assists/flip_binexpr.rs index 808248d88..2074087cd 100644 --- a/crates/ra_assists/src/assists/flip_binexpr.rs +++ b/crates/ra_assists/src/assists/flip_binexpr.rs @@ -34,7 +34,7 @@ pub(crate) fn flip_binexpr(ctx: AssistCtx) -> Option { return None; } - ctx.add_assist(AssistId("flip_binexpr"), "Flip Binary Expression", |edit| { + ctx.add_assist(AssistId("flip_binexpr"), "Flip binary expression", |edit| { edit.target(op_range); if let FlipAction::FlipAndReplaceOp(new_op) = action { edit.replace(op_range, new_op); -- cgit v1.2.3