Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update mixed doc comments test
  • Loading branch information
GuillaumeGomez committed Jan 1, 2022
commit c6ee7bbe5197dbdec59acaab9b479f0610dfa5e1
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="docblock"><p>Par 1</p>
<p>Par 2</p>
</div>
7 changes: 7 additions & 0 deletions src/test/rustdoc/mixing-doc-comments-and-attrs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@ pub struct S1;
#[doc = "Goodbye!"]
/// Hello again!
pub struct S2;

// @has 'foo/struct.S3.html'
// @snapshot S3_top-doc - '//details[@class="rustdoc-toggle top-doc"]/div[@class="docblock"]'
/** Par 1
*/ ///
/// Par 2
pub struct S3;