Commit 5847c58
committed
Minor fix and addition to doc comments
1. Fixed doc comment of struct 'rustc_middle::mir::Location'
Currently, the general explanation of the struct appears at the field
explanation section. I moved and changed the doc comments slightly, so
that the general explanation would appear in the proper location in
docs.
2. Added doc comment explaining 'rustc_mir::util::pretty::write_mir_fn'
Unlike other counterparts, brief explanation for this function was missing,
so I added one.
Thank you for reviewing this PR :)1 parent 8d67f57 commit 5847c58
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2611 | 2611 | | |
2612 | 2612 | | |
2613 | 2613 | | |
| 2614 | + | |
| 2615 | + | |
| 2616 | + | |
2614 | 2617 | | |
2615 | 2618 | | |
2616 | 2619 | | |
2617 | 2620 | | |
2618 | 2621 | | |
2619 | | - | |
2620 | | - | |
2621 | | - | |
2622 | 2622 | | |
2623 | 2623 | | |
2624 | 2624 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
257 | 258 | | |
258 | 259 | | |
259 | 260 | | |
| |||
0 commit comments