]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/strip-block-doc-comments-stars.rs
Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726
[rust.git] / tests / rustdoc / strip-block-doc-comments-stars.rs
1 #![crate_name = "foo"]
2
3 // The goal of this test is to ensure that it won't be generated as a list because
4 // block doc comments can have their lines starting with a star.
5
6 // @has foo/fn.foo.html
7 // @snapshot docblock - '//*[@class="toggle top-doc"]//*[@class="docblock"]'
8 /**
9  *     a
10  */
11 pub fn foo() {}