mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
Give functions unique names
This commit is contained in:
parent
9c1389418e
commit
8a1288be74
@ -10,9 +10,9 @@ pub const fn bloop() -> i32 {
|
||||
pub struct Struct {}
|
||||
|
||||
impl Struct {
|
||||
// @has 'issue_76501/struct.Struct.html' '//*[@class="method"]' 'pub const fn bloop() -> i32'
|
||||
// @has 'issue_76501/struct.Struct.html' '//*[@class="method"]' 'pub const fn blurp() -> i32'
|
||||
/// A useless function that always returns 1.
|
||||
pub const fn bloop() -> i32 {
|
||||
pub const fn blurp() -> i32 {
|
||||
1
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user