diff --git a/src/conversion/string.md b/src/conversion/string.md index 82101b8679..14c413a2ba 100644 --- a/src/conversion/string.md +++ b/src/conversion/string.md @@ -50,6 +50,6 @@ fn main() { [`ToString`]: https://doc.rust-lang.org/std/string/trait.ToString.html [Display]: https://doc.rust-lang.org/std/fmt/trait.Display.html -[print]: /hello/print.html +[print]: hello/print.html [`parse`]: https://doc.rust-lang.org/std/primitive.str.html#method.parse [`FromStr`]: https://doc.rust-lang.org/std/str/trait.FromStr.html diff --git a/src/hello/print.md b/src/hello/print.md index e91ee64bcf..2ae8c80440 100644 --- a/src/hello/print.md +++ b/src/hello/print.md @@ -45,7 +45,7 @@ fn main() { // used. println!("My name is {0}, {1} {0}", "Bond"); // FIXME ^ Add the missing argument: "James" - + // Create a structure which contains an `i32`. Name it `Structure`. #[allow(dead_code)] struct Structure(i32); @@ -91,4 +91,4 @@ and [`traits`][traits] [structs]: custom_types/structs.html [traits]: trait.html [`ToString`]: https://doc.rust-lang.org/std/string/trait.ToString.html -[convert]: /conversion/string.html +[convert]: conversion/string.html