Skip to content
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

Point references to prelude to correct documentation links #663

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions first-edition/src/guessing-game.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ prelude, you’ll have to `use` it directly. There is also a second ‘prelude
[`io` prelude][ioprelude], which serves a similar function: you import it, and it
imports a number of useful, `io`-related things.

[prelude]: ../../std/prelude/index.html
[ioprelude]: ../../std/io/prelude/index.html
[prelude]: https://doc.rust-lang.org/std/prelude
[ioprelude]: https://doc.rust-lang.org/std/io/prelude

```rust,ignore
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion second-edition/src/ch02-00-guessing-game-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ prelude, you have to bring that type into scope explicitly with a `use`
statement. Using the `std::io` library provides you with a number of useful
`io`-related features, including the functionality to accept user input.

[prelude]: ../../std/prelude/index.html
[prelude]: https://doc.rust-lang.org/std/prelude

As you saw in Chapter 1, the `main` function is the entry point into the
program:
Expand Down