Commit fb50767
committed
Fix panic in annotated_snippet dependency (#4968).
* This change is based on the code review by camsteffen on PR
#5039 by karyon: have rustfmt internally replace tabs with
the corresponding number of spaces, so that columns/indices in the
buffer passed to annotated_snippet are counted unambiguously.1 parent 2d049af commit fb50767
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
| 585 | + | |
| 586 | + | |
585 | 587 | | |
586 | 588 | | |
587 | | - | |
| 589 | + | |
| 590 | + | |
588 | 591 | | |
589 | 592 | | |
590 | | - | |
591 | 593 | | |
592 | 594 | | |
593 | 595 | | |
| |||
0 commit comments