Commit 7e32178
committed
Balance sidebar
The `Deref` cycle checks added as part of #80653 were "unbalanced" in the sense
that the main content code path checks for cycles _before_ descending, while the
sidebar checks _after_. Checking _before_ is correct, so this changes the
sidebar path to match the main content path.Deref cycle check with main content1 parent 7ce1b3b commit 7e32178
File tree
2 files changed
+26
-7
lines changed- src
- librustdoc/html/render
- test/rustdoc-ui
2 files changed
+26
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3510 | 3510 | | |
3511 | 3511 | | |
3512 | 3512 | | |
| 3513 | + | |
3513 | 3514 | | |
3514 | 3515 | | |
3515 | 3516 | | |
| |||
3626 | 3627 | | |
3627 | 3628 | | |
3628 | 3629 | | |
| 3630 | + | |
3629 | 3631 | | |
3630 | 3632 | | |
3631 | 3633 | | |
| |||
4416 | 4418 | | |
4417 | 4419 | | |
4418 | 4420 | | |
| 4421 | + | |
| 4422 | + | |
| 4423 | + | |
| 4424 | + | |
| 4425 | + | |
| 4426 | + | |
| 4427 | + | |
| 4428 | + | |
| 4429 | + | |
4419 | 4430 | | |
4420 | 4431 | | |
4421 | 4432 | | |
| |||
4464 | 4475 | | |
4465 | 4476 | | |
4466 | 4477 | | |
4467 | | - | |
4468 | | - | |
4469 | | - | |
4470 | | - | |
4471 | | - | |
4472 | | - | |
4473 | | - | |
4474 | 4478 | | |
4475 | 4479 | | |
4476 | 4480 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments