Use back ticks instead of single quotes around code

This commit is contained in:
Trevor Spiteri 2020-05-14 01:06:07 +02:00
parent 530a35f3f9
commit 2d0a949236
4 changed files with 4 additions and 4 deletions

View file

@ -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| {