1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-01-19 04:48:12 +02:00

Fix some broken fragment ID encodings in rustdoc links (#571)

This commit is contained in:
eepeep 2023-07-14 01:55:46 -07:00 committed by GitHub
parent c4603fd595
commit eda4766442
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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
</details>

View File

@ -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
<details>