]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/strip-block-doc-comments-stars.rs
:arrow_up: rust-analyzer
[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() {}