]>
Commit | Line | Data |
---|---|---|
1b1a35ee XL |
1 | // @has 'issue_76501/fn.bloop.html' '//pre' 'pub const fn bloop() -> i32' |
2 | /// A useless function that always returns 1. | |
3 | pub const fn bloop() -> i32 { | |
4 | 1 | |
5 | } | |
6 | ||
7 | /// A struct. | |
8 | pub struct Struct {} | |
9 | ||
10 | impl Struct { | |
11 | // @has 'issue_76501/struct.Struct.html' '//*[@class="method"]' 'pub const fn blurp() -> i32' | |
12 | /// A useless function that always returns 1. | |
13 | pub const fn blurp() -> i32 { | |
14 | 1 | |
15 | } | |
16 | } |