From fbfef92fc228edee978d0efb4421be633468f6f3 Mon Sep 17 00:00:00 2001 From: Eric Huss <eric@huss.org> Date: Wed, 27 Feb 2019 20:57:15 -0800 Subject: [PATCH] Fix some broken links. Submodules in rust-lang/rust requires links to be relative. --- src/conversion/string.md | 2 +- src/hello/print.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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