Rollup merge of #105256 - GuillaumeGomez:comment-method-margins, r=notriddle

Add small comment explaining what `method-margins.goml` test is about

r? `````@notriddle`````
This commit is contained in:
Yuki Okushi 2022-12-06 12:48:51 +09:00 committed by GitHub
commit f04454d4c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,4 @@
// This test ensures that the margins on methods are coherent inside an impl block.
goto: "file://" + |DOC_PATH| + "/test_docs/trait_members/struct.HasTrait.html#impl-TraitMembers-for-HasTrait"
assert-count: ("#trait-implementations-list > .rustdoc-toggle", 1)