Skip to content

Commit 01fbac4

Browse files
camelidjyn514
authored andcommitted
Fix some broken links
1 parent 72b6973 commit 01fbac4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/doc/rustc-dev-guide/src/mir/optimizations.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The array is an array of `&dyn MirPass` trait objects. Typically, a pass is
8585
implemented in its own module of the [`rustc_mir_transform`][trans] crate.
8686

8787
[rop]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir_transform/fn.run_optimization_passes.html
88-
[`MirPass`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir_transform/trait.MirPass.html
88+
[`MirPass`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/mir/trait.MirPass.html
8989
[trans]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir_transform/index.html
9090

9191
Some examples of passes are:
@@ -95,7 +95,7 @@ Some examples of passes are:
9595

9696
You can see the ["Implementors" section of the `MirPass` rustdocs][impl] for more examples.
9797

98-
[impl]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir_transform/trait.MirPass.html#implementors
98+
[impl]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/mir/trait.MirPass.html#implementors
9999
[constprop]: https://en.wikipedia.org/wiki/Constant_folding#Constant_propagation
100100

101101
## MIR optimization levels

src/doc/rustc-dev-guide/src/profiling.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Depending on what you're trying to measure, there are several different approach
1212

1313
- If you want a medium-to-high level overview of where `rustc` is spending its time:
1414
- The `-Z self-profile` flag and [measureme](https://github.com/rust-lang/measureme) tools offer a query-based approach to profiling.
15-
See [their docs](https://github.com/rust-lang/measureme/blob/master/summarize/Readme.md) for more information.
15+
See [their docs](https://github.com/rust-lang/measureme/blob/master/summarize/README.md) for more information.
1616

1717
- If you want function level performance data or even just more details than the above approaches:
1818
- Consider using a native code profiler such as [perf](profiling/with_perf.html)

0 commit comments

Comments
 (0)