diff options
author | Trevor Spiteri <[email protected]> | 2020-05-14 00:06:07 +0100 |
---|---|---|
committer | Trevor Spiteri <[email protected]> | 2020-05-14 00:06:07 +0100 |
commit | 2d0a9492362e47c51f389d586a43c81328be4670 (patch) | |
tree | 71caf8f1abdea2bd1de8be38e4595b7dac38ae85 /crates/ra_assists/src/handlers/add_custom_impl.rs | |
parent | 530a35f3f949d70c53accede35fa561429585bc1 (diff) |
Use back ticks instead of single quotes around code
Diffstat (limited to 'crates/ra_assists/src/handlers/add_custom_impl.rs')
-rw-r--r-- | crates/ra_assists/src/handlers/add_custom_impl.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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< | |||
49 | let start_offset = annotated.syntax().parent()?.text_range().end(); | 49 | let start_offset = annotated.syntax().parent()?.text_range().end(); |
50 | 50 | ||
51 | let label = | 51 | let label = |
52 | format!("Add custom impl '{}' for '{}'", trait_token.text().as_str(), annotated_name); | 52 | format!("Add custom impl `{}` for `{}`", trait_token.text().as_str(), annotated_name); |
53 | 53 | ||
54 | let target = attr.syntax().text_range(); | 54 | let target = attr.syntax().text_range(); |
55 | acc.add(AssistId("add_custom_impl"), label, target, |edit| { | 55 | acc.add(AssistId("add_custom_impl"), label, target, |edit| { |