1
Fork 0
rust/tests/rustdoc-gui/impl-doc.goml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
436 B
Text
Raw Permalink Normal View History

// A docblock on an impl must have a margin to separate it from the contents.
go-to: "file://" + |DOC_PATH| + "/test_docs/struct.TypeWithImplDoc.html"
// The text is about 24px tall, so if there's a margin, then their position will be >24px apart
compare-elements-position-near-false: (
2024-10-26 00:20:31 +02:00
"#implementations-list > .implementors-toggle .docblock > p",
2023-01-08 21:29:57 +01:00
"#implementations-list > .implementors-toggle > .impl-items",
{"y": 24}
)