about summary refs log tree commit diff
path: root/tests/rustdoc/toggle-method.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-01-10 11:35:37 -0700
committerMichael Howell <michael@notriddle.com>2023-01-13 12:38:03 -0700
commit1d328de3ec00bc5d204306da20cc166e5ae8857d (patch)
tree3c517108a2e3948d6e5b72bf6b9d2422b177813e /tests/rustdoc/toggle-method.rs
parent0b90256ada21c6a81b4c18f2c7a23151ab5fc232 (diff)
downloadrust-1d328de3ec00bc5d204306da20cc166e5ae8857d.tar.gz
rust-1d328de3ec00bc5d204306da20cc166e5ae8857d.zip
rustdoc: rename CSS rustdoc-toggle -> toggle and toggle -> settings-toggle
This swaps things around so that the class that gets used more often has
the shorter name.
Diffstat (limited to 'tests/rustdoc/toggle-method.rs')
-rw-r--r--tests/rustdoc/toggle-method.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rustdoc/toggle-method.rs b/tests/rustdoc/toggle-method.rs
index 1aa74e59659..ebc316ca8ad 100644
--- a/tests/rustdoc/toggle-method.rs
+++ b/tests/rustdoc/toggle-method.rs
@@ -4,9 +4,9 @@
 // summary. Struct methods with no documentation should not be wrapped.
 //
 // @has foo/struct.Foo.html
-// @has - '//details[@class="rustdoc-toggle method-toggle"]//summary//h4[@class="code-header"]' 'is_documented()'
-// @has - '//details[@class="rustdoc-toggle method-toggle"]//*[@class="docblock"]' 'is_documented is documented'
-// @!has - '//details[@class="rustdoc-toggle method-toggle"]//summary//h4[@class="code-header"]' 'not_documented()'
+// @has - '//details[@class="toggle method-toggle"]//summary//h4[@class="code-header"]' 'is_documented()'
+// @has - '//details[@class="toggle method-toggle"]//*[@class="docblock"]' 'is_documented is documented'
+// @!has - '//details[@class="toggle method-toggle"]//summary//h4[@class="code-header"]' 'not_documented()'
 pub struct Foo {
 }