about summary refs log tree commit diff
path: root/library/core/src/alloc
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2021-03-02 21:23:12 +0900
committerGitHub <noreply@github.com>2021-03-02 21:23:12 +0900
commitbc5669eef8c1d747e82694547fd57a1400a5afec (patch)
tree6e68ce12e4a6ab82bf75d9ddf573ee86584aef37 /library/core/src/alloc
parentef0d5924c25b500b2b135e5a5f41754ab4a72e26 (diff)
parent4d46735b8efb7e8591387447315037094a094d50 (diff)
downloadrust-bc5669eef8c1d747e82694547fd57a1400a5afec.tar.gz
rust-bc5669eef8c1d747e82694547fd57a1400a5afec.zip
Rollup merge of #80189 - jyn514:convert-primitives, r=poliorcetics
Convert primitives in the standard library to intra-doc links

Blocked on https://github.com/rust-lang/rust/pull/80181. I forgot that this needs to wait for the beta bump so the standard library can be documented with `doc --stage 0`.

Notably I didn't convert `core::slice` because it's like 50 links and I got scared :fearful:
Diffstat (limited to 'library/core/src/alloc')
-rw-r--r--library/core/src/alloc/layout.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/library/core/src/alloc/layout.rs b/library/core/src/alloc/layout.rs
index 9dc3f05dae5..8b95b70396b 100644
--- a/library/core/src/alloc/layout.rs
+++ b/library/core/src/alloc/layout.rs
@@ -164,7 +164,6 @@ impl Layout {
     ///       [`Layout::for_value`] on a reference to an extern type tail.
     ///     - otherwise, it is conservatively not allowed to call this function.
     ///
-    /// [slice]: ../../std/primitive.slice.html
     /// [trait object]: ../../book/ch17-02-trait-objects.html
     /// [extern type]: ../../unstable-book/language-features/extern-types.html
     #[unstable(feature = "layout_for_ptr", issue = "69835")]