diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-05-06 22:36:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-06 22:36:51 +0200 |
| commit | d33180e1d77f92c0cc8d3302fa5bb75cc090417f (patch) | |
| tree | 0b26ae8134af38fc8661b02688eab8344fc928c4 /src/test/rustdoc/const-generics/add-impl.rs | |
| parent | f7c3b0ce9a8c33069610d2b19f6d149076138cb0 (diff) | |
| parent | a64d643956c3cfc90632951ae7ec2b3b84d04c1f (diff) | |
Rollup merge of #71918 - GuillaumeGomez:rename-methods-section, r=Dylan-DPC
Rename methods section Fixes https://github.com/rust-lang/rust/issues/70475. It renames the section [methods](https://doc.rust-lang.org/nightly/std/string/struct.String.html#methods) into "Implementations". However, I didn't not update the title in the sidebar considering that it only lists methods under (even though I updated the link of the "methods" to make it point to the "implementations" section. r? @kinnison cc @rust-lang/rustdoc
Diffstat (limited to 'src/test/rustdoc/const-generics/add-impl.rs')
| -rw-r--r-- | src/test/rustdoc/const-generics/add-impl.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc/const-generics/add-impl.rs b/src/test/rustdoc/const-generics/add-impl.rs index 54bdd768f8a..905f9588268 100644 --- a/src/test/rustdoc/const-generics/add-impl.rs +++ b/src/test/rustdoc/const-generics/add-impl.rs @@ -11,7 +11,7 @@ pub struct Simd<T, const WIDTH: usize> { inner: T, } -// @has foo/struct.Simd.html '//div[@id="implementations-list"]/h3/code' 'impl Add<Simd<u8, 16usize>> for Simd<u8, 16>' +// @has foo/struct.Simd.html '//div[@id="trait-implementations-list"]/h3/code' 'impl Add<Simd<u8, 16usize>> for Simd<u8, 16>' impl Add for Simd<u8, 16> { type Output = Self; |
