about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev+love@gmail.com>2022-12-06 12:48:51 +0900
committerGitHub <noreply@github.com>2022-12-06 12:48:51 +0900
commitf04454d4c8d2c283b2d2ae9b71cad347fdebc42b (patch)
treef46210a7f08215ffd610bc355007c38d00ca77aa /src
parentef1f3bfd3910c663670519f15bd20b92f03efcf5 (diff)
parent6cc86db06957194191028c9c7582d920f6aeb6d0 (diff)
downloadrust-f04454d4c8d2c283b2d2ae9b71cad347fdebc42b.tar.gz
rust-f04454d4c8d2c283b2d2ae9b71cad347fdebc42b.zip
Rollup merge of #105256 - GuillaumeGomez:comment-method-margins, r=notriddle
Add small comment explaining what `method-margins.goml` test is about

r? `````@notriddle`````
Diffstat (limited to 'src')
-rw-r--r--src/test/rustdoc-gui/method-margins.goml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/rustdoc-gui/method-margins.goml b/src/test/rustdoc-gui/method-margins.goml
index 397bcd40b36..ed36bcdec17 100644
--- a/src/test/rustdoc-gui/method-margins.goml
+++ b/src/test/rustdoc-gui/method-margins.goml
@@ -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)