Skip to content

Commit

Permalink
Update mixed doc comments test
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jan 1, 2022
1 parent ee97600 commit c6ee7bb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
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;

0 comments on commit c6ee7bb

Please sign in to comment.