mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-19 20:13:47 +00:00
74e843c833
Stopped being used in CSS with
73d0f7c7b6
18 lines
418 B
Rust
18 lines
418 B
Rust
// @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"]' \
|
|
// 'pub const fn blurp() -> i32'
|
|
/// A useless function that always returns 1.
|
|
pub const fn blurp() -> i32 {
|
|
1
|
|
}
|
|
}
|