]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/const.rs
Rollup merge of #57452 - steveklabnik:improve-formatter-docs, r=frewsxcv
[rust.git] / src / test / rustdoc / const.rs
1 #![crate_type="lib"]
2
3 pub struct Foo;
4
5 impl Foo {
6     // @has const/struct.Foo.html '//code[@id="new.v"]' 'const unsafe fn new'
7     pub const unsafe fn new() -> Foo {
8         Foo
9     }
10 }