From 2d0a9492362e47c51f389d586a43c81328be4670 Mon Sep 17 00:00:00 2001 From: Trevor Spiteri Date: Thu, 14 May 2020 01:06:07 +0200 Subject: Use back ticks instead of single quotes around code --- crates/ra_assists/src/handlers/add_custom_impl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_assists/src/handlers/add_custom_impl.rs') diff --git a/crates/ra_assists/src/handlers/add_custom_impl.rs b/crates/ra_assists/src/handlers/add_custom_impl.rs index 795a225a4..2baeb8607 100644 --- a/crates/ra_assists/src/handlers/add_custom_impl.rs +++ b/crates/ra_assists/src/handlers/add_custom_impl.rs @@ -49,7 +49,7 @@ pub(crate) fn add_custom_impl(acc: &mut Assists, ctx: &AssistContext) -> Option< let start_offset = annotated.syntax().parent()?.text_range().end(); let label = - format!("Add custom impl '{}' for '{}'", trait_token.text().as_str(), annotated_name); + format!("Add custom impl `{}` for `{}`", trait_token.text().as_str(), annotated_name); let target = attr.syntax().text_range(); acc.add(AssistId("add_custom_impl"), label, target, |edit| { -- cgit v1.2.3