Commit 4530c52
committed
Auto merge of rust-lang#59700 - matklad:simplify, r=eddyb
Simplify doc comment lexing
is_doc_comment function checks the first four chars, but this is
redundant, `doc_comment` local var has the same info.1 file changed
+5
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
633 | | - | |
| 633 | + | |
634 | 634 | | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
| 635 | + | |
646 | 636 | | |
647 | 637 | | |
648 | | - | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
653 | 641 | | |
654 | 642 | | |
655 | 643 | | |
| |||
0 commit comments