rust/tests/rustdoc/issue-76501.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
418 B
Rust
Raw Normal View History

// @has 'issue_76501/fn.bloop.html' '//pre' 'pub const fn bloop() -> i32'
/// A useless function that always returns 1.
pub const fn bloop() -> i32 {
1
}
/// A struct.
pub struct Struct {}
impl Struct {
// @has 'issue_76501/struct.Struct.html' '//*[@class="method"]' \
2021-06-02 03:59:10 -05:00
// 'pub const fn blurp() -> i32'
/// A useless function that always returns 1.
2020-09-12 10:24:19 -05:00
pub const fn blurp() -> i32 {
1
}
}