Open trait implementations' toggles by default.

This makes it possible to use Ctrl-F to find methods defined in traits.
This commit is contained in:
Jacob Hoffman-Andrews
2021-06-12 22:19:26 -07:00
parent 8daad743c4
commit 62658bfc22
3 changed files with 14 additions and 14 deletions

View File

@@ -0,0 +1,5 @@
// This tests that the "implementations" section on struct/enum pages
// has all the implementations toggled open by default, so users can
// find method names in those implementations with Ctrl-F.
goto: file://|DOC_PATH|/test_docs/struct.Foo.html
assert: (".rustdoc-toggle.implementors-toggle", "open", "")