]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/strip-block-doc-comments-stars.rs
Merge commit 'c19edfd71a1d0ddef86c2c67fdb40718d40a72b4' into sync_cg_clif-2022-07-25
[rust.git] / src / test / 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="rustdoc-toggle top-doc"]//*[@class="docblock"]'
8 /**
9  *     a
10  */
11 pub fn foo() {}