about summary refs log tree commit diff
path: root/src/test/rustdoc/intra-doc/prim-methods-local.rs
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2021-07-05 22:50:26 -0400
committerJoshua Nelson <jyn514@gmail.com>2021-09-12 02:23:08 +0000
commit69fe39e8a8e6a66d97836e3068a4b1f183c79ea6 (patch)
treeef123baaa1c9db0d8dfc066526e11e2df0da11ff /src/test/rustdoc/intra-doc/prim-methods-local.rs
parent8c2b6ea37d7719a0370bd404030eef9702c1752c (diff)
downloadrust-69fe39e8a8e6a66d97836e3068a4b1f183c79ea6.tar.gz
rust-69fe39e8a8e6a66d97836e3068a4b1f183c79ea6.zip
Add primitive documentation to libcore
This works by doing two things:
- Adding links that are specific to the crate. Since not all primitive
  items are defined in `core` (due to lang_items), these need to use
  relative links and not intra-doc links.
- Duplicating `primitive_docs` in both core and std. This allows not needing CARGO_PKG_NAME to build the standard library. It also adds a tidy check to make sure they stay the same.
Diffstat (limited to 'src/test/rustdoc/intra-doc/prim-methods-local.rs')
0 files changed, 0 insertions, 0 deletions