Skip to content

Commit c6ee7bb

Browse files
Update mixed doc comments test
1 parent ee97600 commit c6ee7bb

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div class="docblock"><p>Par 1</p>
2+
<p>Par 2</p>
3+
</div>

src/test/rustdoc/mixing-doc-comments-and-attrs.rs

+7
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,10 @@ pub struct S1;
1616
#[doc = "Goodbye!"]
1717
/// Hello again!
1818
pub struct S2;
19+
20+
// @has 'foo/struct.S3.html'
21+
// @snapshot S3_top-doc - '//details[@class="rustdoc-toggle top-doc"]/div[@class="docblock"]'
22+
/** Par 1
23+
*/ ///
24+
/// Par 2
25+
pub struct S3;

0 commit comments

Comments
 (0)