-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken anchor links in new Error Handling guide #28412
Comments
The problem is apparently not limited to just headings. For example, the first sentence in the section https://doc.rust-lang.org/nightly/book/error-handling.html#the-option-type says : "The Option type is defined in the standard library" but the link provided leads to the section on pattern matching. |
I'm sorry, I'll get right on that. Thanks for noticing, @filsmick. |
@filsmick Thats strange, because in my local markdown viewer, all those links work. |
@ChristopherDumas Yeah, the reason is because |
Well, I fixed it now. |
…urnstushi, r=steveklabnik This was pointed out by @filsmick and @swatteau in rust-lang#28412.
https://doc.rust-lang.org/stable/book/error-handling.html#table-of-contents Try clicking on "Composing Option values". Looks like the fix didn't make it to stable, because it works on the nightly version |
@filsmick yes, it was fixed after 1.4 was branched. 1.5 has the fix. |
In the Error Handling guide, clicking the anchor link "A brief interlude: unwrapping isn't evil" in the table of contents has no effect.
It points to: https://doc.rust-lang.org/nightly/book/error-handling.html#a-brief-interlude-unwrapping-isnt-evil
...whereas the heading's anchor is: https://doc.rust-lang.org/nightly/book/error-handling.html#a-brief-interlude:-unwrapping-isn't-evil
EDIT: it's actually worse than that - it seems all headings containing special characters (
<
,>
,!
) have broken links:Option<T>
valuestry!
macrotry!
macroBox<Error>
The text was updated successfully, but these errors were encountered: