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:
parent
8daad743c4
commit
62658bfc22
3 changed files with 14 additions and 14 deletions
5
src/test/rustdoc-gui/toggled-open-implementations.goml
Normal file
5
src/test/rustdoc-gui/toggled-open-implementations.goml
Normal 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", "")
|
||||
Loading…
Add table
Add a link
Reference in a new issue