diff --git a/first-edition/src/guessing-game.md b/first-edition/src/guessing-game.md index d59b392a68..9ac32838bb 100644 --- a/first-edition/src/guessing-game.md +++ b/first-edition/src/guessing-game.md @@ -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() { diff --git a/second-edition/src/ch02-00-guessing-game-tutorial.md b/second-edition/src/ch02-00-guessing-game-tutorial.md index 51bfceef6a..639f9e86b1 100644 --- a/second-edition/src/ch02-00-guessing-game-tutorial.md +++ b/second-edition/src/ch02-00-guessing-game-tutorial.md @@ -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: