Commit a6fa92c
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 613ef74 commit a6fa92c
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 | |
|---|---|---|---|
| |||
3518 | 3518 | | |
3519 | 3519 | | |
3520 | 3520 | | |
| 3521 | + | |
3521 | 3522 | | |
3522 | 3523 | | |
3523 | 3524 | | |
| |||
3636 | 3637 | | |
3637 | 3638 | | |
3638 | 3639 | | |
| 3640 | + | |
3639 | 3641 | | |
3640 | 3642 | | |
3641 | 3643 | | |
| |||
4396 | 4398 | | |
4397 | 4399 | | |
4398 | 4400 | | |
| 4401 | + | |
| 4402 | + | |
| 4403 | + | |
| 4404 | + | |
| 4405 | + | |
| 4406 | + | |
| 4407 | + | |
| 4408 | + | |
| 4409 | + | |
4399 | 4410 | | |
4400 | 4411 | | |
4401 | 4412 | | |
| |||
4439 | 4450 | | |
4440 | 4451 | | |
4441 | 4452 | | |
4442 | | - | |
4443 | | - | |
4444 | | - | |
4445 | | - | |
4446 | | - | |
4447 | | - | |
4448 | | - | |
4449 | 4453 | | |
4450 | 4454 | | |
4451 | 4455 | | |
| |||
| 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