]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/impl-doc.goml
Auto merge of #100390 - jhpratt:float-from-bool, r=dtolnay
[rust.git] / src / test / 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 )