about summary refs log tree commit diff
path: root/src/test/rustdoc/negative-impl-sidebar.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-05-06 22:36:51 +0200
committerGitHub <noreply@github.com>2020-05-06 22:36:51 +0200
commitd33180e1d77f92c0cc8d3302fa5bb75cc090417f (patch)
tree0b26ae8134af38fc8661b02688eab8344fc928c4 /src/test/rustdoc/negative-impl-sidebar.rs
parentf7c3b0ce9a8c33069610d2b19f6d149076138cb0 (diff)
parenta64d643956c3cfc90632951ae7ec2b3b84d04c1f (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/negative-impl-sidebar.rs')
-rw-r--r--src/test/rustdoc/negative-impl-sidebar.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc/negative-impl-sidebar.rs b/src/test/rustdoc/negative-impl-sidebar.rs
index cb46d1778d9..3414d954077 100644
--- a/src/test/rustdoc/negative-impl-sidebar.rs
+++ b/src/test/rustdoc/negative-impl-sidebar.rs
@@ -4,6 +4,6 @@
 pub struct Foo;
 
 // @has foo/struct.Foo.html
-// @has - '//*[@class="sidebar-title"][@href="#implementations"]' 'Trait Implementations'
+// @has - '//*[@class="sidebar-title"][@href="#trait-implementations"]' 'Trait Implementations'
 // @has - '//*[@class="sidebar-links"]/a' '!Sync'
 impl !Sync for Foo {}