1
Fork 0

Account for /// when rendering multiline spans

Don't consider `///` and `//!` docstrings to be empty for the purposes of multiline span rendering.
This commit is contained in:
Esteban Küber 2024-12-13 18:18:19 +00:00
parent ad82d9f698
commit 9f1044ef76
18 changed files with 144 additions and 43 deletions

View file

@ -2,7 +2,10 @@ error: unclosed quote string `"`
--> $DIR/custom_code_classes_in_docs-warning3.rs:8:1
|
LL | / /// ```{class="}
LL | | /// main;
LL | | /// ```
... |
LL | | /// main;
LL | | /// ```
| |_______^
|
@ -17,7 +20,10 @@ error: unclosed quote string `"`
--> $DIR/custom_code_classes_in_docs-warning3.rs:8:1
|
LL | / /// ```{class="}
LL | | /// main;
LL | | /// ```
... |
LL | | /// main;
LL | | /// ```
| |_______^
|