From eda47664422bec58a0de42adf01ed224248719f6 Mon Sep 17 00:00:00 2001 From: eepeep <50846949+eepeep@users.noreply.github.com> Date: Fri, 14 Jul 2023 01:55:46 -0700 Subject: [PATCH] Fix some broken fragment ID encodings in rustdoc links (#571) --- src/std/hashmap.md | 2 +- src/std/vec.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/std/hashmap.md b/src/std/hashmap.md index c1552a0d..838d1bfd 100644 --- a/src/std/hashmap.md +++ b/src/std/hashmap.md @@ -61,6 +61,6 @@ fn main() { but it can lead into complications with the borrow checker. * Try removing `to_string()` from the example above and see if it still compiles. Where do you think we might run into issues? -[1]: https://doc.rust-lang.org/std/collections/hash_map/struct.HashMap.html#impl-From%3C%5B(K%2C%20V)%3B%20N%5D%3E-for-HashMap%3CK%2C%20V%2C%20RandomState%3E +[1]: https://doc.rust-lang.org/std/collections/hash_map/struct.HashMap.html#impl-From%3C%5B(K,+V);+N%5D%3E-for-HashMap%3CK,+V,+RandomState%3E diff --git a/src/std/vec.md b/src/std/vec.md index fc3a5aee..9ce78157 100644 --- a/src/std/vec.md +++ b/src/std/vec.md @@ -30,7 +30,7 @@ fn main() { methods on a `Vec`. [1]: https://doc.rust-lang.org/std/vec/struct.Vec.html -[2]: https://doc.rust-lang.org/std/vec/struct.Vec.html#deref-methods-[T] +[2]: https://doc.rust-lang.org/std/vec/struct.Vec.html#deref-methods-%5BT%5D