Skip to content

Commit

Permalink
Give functions unique names
Browse files Browse the repository at this point in the history
  • Loading branch information
slightlyoutofphase authored Sep 12, 2020
1 parent 9c13894 commit 8a1288b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/rustdoc/issue-76501.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

0 comments on commit 8a1288b

Please sign in to comment.