diff options
Diffstat (limited to 'crates/ide/src/syntax_highlighting/format.rs')
-rw-r--r-- | crates/ide/src/syntax_highlighting/format.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/ide/src/syntax_highlighting/format.rs b/crates/ide/src/syntax_highlighting/format.rs index 3ab01295a..71bde24f0 100644 --- a/crates/ide/src/syntax_highlighting/format.rs +++ b/crates/ide/src/syntax_highlighting/format.rs | |||
@@ -12,10 +12,6 @@ pub(super) struct FormatStringHighlighter { | |||
12 | } | 12 | } |
13 | 13 | ||
14 | impl FormatStringHighlighter { | 14 | impl FormatStringHighlighter { |
15 | pub(super) fn reset(&mut self) { | ||
16 | self.format_string = None; | ||
17 | } | ||
18 | |||
19 | pub(super) fn check_for_format_string(&mut self, parent: &SyntaxNode) { | 15 | pub(super) fn check_for_format_string(&mut self, parent: &SyntaxNode) { |
20 | // Check if macro takes a format string and remember it for highlighting later. | 16 | // Check if macro takes a format string and remember it for highlighting later. |
21 | // The macros that accept a format string expand to a compiler builtin macros | 17 | // The macros that accept a format string expand to a compiler builtin macros |