rust-lang / rust-by-example

Learn Rust with examples (Live code editor included)
https://doc.rust-lang.org/stable/rust-by-example/
Apache License 2.0
7.04k stars 1.35k forks source link

Broken Links #990

Closed Michael-F-Bryan closed 6 years ago

Michael-F-Bryan commented 6 years ago

I was trying out my mdbook-linkcheck backend/plugin for mdbook with the Rust By Example book and it actually worked :tada: It found a couple links where the user had accidentally linked to *.md instead of *.html, as well as one where it seems the page was moved.

The tool's output:

There were 4 broken links

cargo/test.md#4: "meta/test.html" doesn't exist
macros/syntax.md#6: Found "macros/designators.md", did you mean "macros/designators.html"?
macros/syntax.md#7: Found "macros/overload.md", did you mean "macros/overload.html"?
macros/syntax.md#8: Found "macros/repeat.md", did you mean "macros/repeat.html"?
projektir commented 6 years ago

I have just fixed these and others because it was breaking rust-lang/rust#46194.