diff options
author | Paul Daniel Faria <[email protected]> | 2020-06-18 14:14:02 +0100 |
---|---|---|
committer | Paul Daniel Faria <[email protected]> | 2020-06-18 14:14:02 +0100 |
commit | 66fc084a86e8f5d207d63e33173d1e203cb5ce5e (patch) | |
tree | 2ec2cc04cc2d333e465623bc466a69bffca483eb /crates/ra_ide/src/syntax_highlighting | |
parent | a951108173349f9ff0b9936ec2af8881fd92fc98 (diff) |
Remove logic to mark all doctest code as
Diffstat (limited to 'crates/ra_ide/src/syntax_highlighting')
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting/injection.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting/injection.rs b/crates/ra_ide/src/syntax_highlighting/injection.rs index dc12c8f5a..415f24a6d 100644 --- a/crates/ra_ide/src/syntax_highlighting/injection.rs +++ b/crates/ra_ide/src/syntax_highlighting/injection.rs | |||
@@ -168,7 +168,6 @@ pub(super) fn highlight_doc_comment( | |||
168 | h.range.end() + end_offset.unwrap_or(start_offset), | 168 | h.range.end() + end_offset.unwrap_or(start_offset), |
169 | ); | 169 | ); |
170 | 170 | ||
171 | h.highlight |= HighlightModifier::Documentation; | ||
172 | stack.add(h); | 171 | stack.add(h); |
173 | } | 172 | } |
174 | } | 173 | } |