]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #88469 - patrick-gu:master, r=dtolnay
authorbors <bors@rust-lang.org>
Sun, 5 Sep 2021 01:56:25 +0000 (01:56 +0000)
committerbors <bors@rust-lang.org>
Sun, 5 Sep 2021 01:56:25 +0000 (01:56 +0000)
commit0961e688fda35a664b5869dcfe1295b00538c7ae
treef87403aad47587b526655e97500d342ea78e6250
parent3baa466444fcaa7e25f0578431f4ddeba0dc4a1b
parent7c32b58df24fe98dd3529d344fec6b1ad1631b63
Auto merge of #88469 - patrick-gu:master, r=dtolnay

Add links in docs for some primitive types

This pull request adds additional links in existing documentation of some of the primitive types.

Where items are linked only once, I have used the `[link](destination)` format. For items in `std`, I have linked directly to the HTML, since although the primitives are in `core`, they are not displayed on `core` documentation. I was unsure of what length I should keep lines of documentation to, so I tried to keep them within reason.

Additionally, I have avoided excessively linking to keywords like `self` when they are not relevant to the documentation. I can add these links if it would be an improvement.

I hope this can improve Rust. Please let me know if there's anything I did wrong!
library/core/src/array/mod.rs
library/std/src/primitive_docs.rs