diff options
author | Aleksey Kladov <[email protected]> | 2021-01-07 22:39:02 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-01-08 20:47:35 +0000 |
commit | e30c1c3fbf8f70336d985b2b73e5b0f45f3b95f5 (patch) | |
tree | a3cdc2d2f667ab5a122758152eb338a654d387cd /crates/ide/src/syntax_highlighting/tests.rs | |
parent | 981a0d708ec352969f9ca075a3e0e50c6da48197 (diff) |
Simplify highlighting infra
This also fixes the killer whale bug
Diffstat (limited to 'crates/ide/src/syntax_highlighting/tests.rs')
-rw-r--r-- | crates/ide/src/syntax_highlighting/tests.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/ide/src/syntax_highlighting/tests.rs b/crates/ide/src/syntax_highlighting/tests.rs index 9e1a3974c..a62704c39 100644 --- a/crates/ide/src/syntax_highlighting/tests.rs +++ b/crates/ide/src/syntax_highlighting/tests.rs | |||
@@ -446,6 +446,11 @@ struct Foo { | |||
446 | } | 446 | } |
447 | 447 | ||
448 | impl Foo { | 448 | impl Foo { |
449 | /// ``` | ||
450 | /// let _ = "Call me | ||
451 | // KILLER WHALE | ||
452 | /// Ishmael."; | ||
453 | /// ``` | ||
449 | pub const bar: bool = true; | 454 | pub const bar: bool = true; |
450 | 455 | ||
451 | /// Constructs a new `Foo`. | 456 | /// Constructs a new `Foo`. |