about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-12-04 15:21:05 +0100
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-12-04 15:21:05 +0100
commit6cc86db06957194191028c9c7582d920f6aeb6d0 (patch)
tree1d8906229a94a0f0d29d7b778cdfbdc134bea45d /src
parent269704a4a09502ae64f3916058b157d94e6cba99 (diff)
downloadrust-6cc86db06957194191028c9c7582d920f6aeb6d0.tar.gz
rust-6cc86db06957194191028c9c7582d920f6aeb6d0.zip
Add small comment explaining what `method-margins.goml` test is about
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)