about summary refs log tree commit diff
path: root/tests/rustdoc/mixing-doc-comments-and-attrs.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/mixing-doc-comments-and-attrs.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/mixing-doc-comments-and-attrs.rs')
-rw-r--r--tests/rustdoc/mixing-doc-comments-and-attrs.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rustdoc/mixing-doc-comments-and-attrs.rs b/tests/rustdoc/mixing-doc-comments-and-attrs.rs
index a27c5ae6d01..010058361fa 100644
--- a/tests/rustdoc/mixing-doc-comments-and-attrs.rs
+++ b/tests/rustdoc/mixing-doc-comments-and-attrs.rs
@@ -1,7 +1,7 @@
 #![crate_name = "foo"]
 
 // @has 'foo/struct.S1.html'
-// @snapshot S1_top-doc - '//details[@class="rustdoc-toggle top-doc"]/div[@class="docblock"]'
+// @snapshot S1_top-doc - '//details[@class="toggle top-doc"]/div[@class="docblock"]'
 
 #[doc = "Hello world!\n\n"]
 /// Goodbye!
@@ -9,7 +9,7 @@
 pub struct S1;
 
 // @has 'foo/struct.S2.html'
-// @snapshot S2_top-doc - '//details[@class="rustdoc-toggle top-doc"]/div[@class="docblock"]'
+// @snapshot S2_top-doc - '//details[@class="toggle top-doc"]/div[@class="docblock"]'
 
 /// Hello world!
 ///
@@ -18,7 +18,7 @@ pub struct S1;
 pub struct S2;
 
 // @has 'foo/struct.S3.html'
-// @snapshot S3_top-doc - '//details[@class="rustdoc-toggle top-doc"]/div[@class="docblock"]'
+// @snapshot S3_top-doc - '//details[@class="toggle top-doc"]/div[@class="docblock"]'
 /** Par 1
 */ ///
 /// Par 2