]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-gui/impl-doc.goml
Rollup merge of #106953 - kylematsuda:early-binder-docs, r=jackh726
[rust.git] / tests / rustdoc-gui / impl-doc.goml
1 // A docblock on an impl must have a margin to separate it from the contents.
2 goto: "file://" + |DOC_PATH| + "/test_docs/struct.TypeWithImplDoc.html"
3
4 // The text is about 24px tall, so if there's a margin, then their position will be >24px apart
5 compare-elements-position-near-false: (
6     "#implementations-list > .implementors-toggle > .docblock > p",
7     "#implementations-list > .implementors-toggle > .impl-items",
8     {"y": 24}
9 )