Skip to content

Chapter 7.4 Broken Link: Standard Library Documentation #367

@dullbenz

Description

@dullbenz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions