diff options
Diffstat (limited to 'lib/src/lints/unquoted_splice.rs')
-rw-r--r-- | lib/src/lints/unquoted_splice.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/src/lints/unquoted_splice.rs b/lib/src/lints/unquoted_splice.rs index 4700d31..ce269b6 100644 --- a/lib/src/lints/unquoted_splice.rs +++ b/lib/src/lints/unquoted_splice.rs | |||
@@ -46,7 +46,7 @@ impl Rule for UnquotedSplice { | |||
46 | if Dynamic::cast(node.clone()).is_some(); | 46 | if Dynamic::cast(node.clone()).is_some(); |
47 | then { | 47 | then { |
48 | let at = node.text_range(); | 48 | let at = node.text_range(); |
49 | let replacement = make::quote(&node).node().clone(); | 49 | let replacement = make::quote(node).node().clone(); |
50 | let message = "Consider quoting this splice expression"; | 50 | let message = "Consider quoting this splice expression"; |
51 | Some(self.report().suggest(at, message, Suggestion::new(at, replacement))) | 51 | Some(self.report().suggest(at, message, Suggestion::new(at, replacement))) |
52 | } else { | 52 | } else { |