-
Notifications
You must be signed in to change notification settings - Fork 172
Description
- I have searched open and closed issues and pull requests for duplicates, using these search terms:
- chapter 7.4
- 7.4
- Broken Link
- Link
- I have checked the latest
mainbranch to see if this has already been fixed, in this file:
URL to the section(s) of the book with this problem:
Description of the problem:
In chapter 7.4, Under "The Glob Operator Section", in the text
The glob operator is often used when testing to bring everything under test into the tests module; we’ll talk about that in “How to Write Tests” in Chapter 11. The glob operator is also sometimes used as part of the prelude pattern: see the standard library documentation for more information on that pattern.
The link to "the standard library documentation" goes to a 404 Document not found page. And I checked the same page from the original Rust book and verified the link to be working and redirect to the std documentation page.
Suggested fix:
Use an absolute link to the standard library documentation from https://doc.rust-lang.org/std/prelude/index.html#other-preludes rather than using the relative.