diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-04 06:13:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-04 06:13:57 +0100 |
| commit | f8f31faeb75b739f8aa1e425c3115f4e8906fd7a (patch) | |
| tree | a569095d5cc8fde3ef35b08edd1bac3e6ed9a953 /tests/rustdoc | |
| parent | affdb59607566c1615c829eea9e7b27a093994ec (diff) | |
| parent | a063cf5f1c151873f753905c75d8e67115308f9d (diff) | |
| download | rust-f8f31faeb75b739f8aa1e425c3115f4e8906fd7a.tar.gz rust-f8f31faeb75b739f8aa1e425c3115f4e8906fd7a.zip | |
Rollup merge of #134807 - poliorcetics:ab/push-skpynvsmwkll, r=camelid
fix(rustdoc): always use a channel when linking to doc.rust-lang.org Closes #131971 I manually checked the resulting links One issue is that this will create `nightly/...` links in places that formerly linked to stable, is that ok ? (the `slice` and `array` links in the search help notably)
Diffstat (limited to 'tests/rustdoc')
| -rw-r--r-- | tests/rustdoc/type-layout.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc/type-layout.rs b/tests/rustdoc/type-layout.rs index 5f34c8b99e0..6de435dbcc1 100644 --- a/tests/rustdoc/type-layout.rs +++ b/tests/rustdoc/type-layout.rs @@ -86,11 +86,11 @@ pub enum WithNiche { } //@ hasraw type_layout/enum.Uninhabited.html 'Size: ' -//@ hasraw - '0 bytes (<a href="https://doc.rust-lang.org/stable/reference/glossary.html#uninhabited">uninhabited</a>)' +//@ hasraw - '0 bytes (<a href="{{channel}}/reference/glossary.html#uninhabited">uninhabited</a>)' pub enum Uninhabited {} //@ hasraw type_layout/struct.Uninhabited2.html 'Size: ' -//@ hasraw - '8 bytes (<a href="https://doc.rust-lang.org/stable/reference/glossary.html#uninhabited">uninhabited</a>)' +//@ hasraw - '8 bytes (<a href="{{channel}}/reference/glossary.html#uninhabited">uninhabited</a>)' pub struct Uninhabited2(std::convert::Infallible, u64); pub trait Project { type Assoc; } |
