diff options
| author | SlightlyOutOfPhase <slightlyoutofphase@gmail.com> | 2020-09-12 11:24:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-12 11:24:19 -0400 |
| commit | 8a1288be747bf3a777997e260e3788f27984f93a (patch) | |
| tree | 25f6fe58eef0cf351dec1e6557f9380a718921c7 | |
| parent | 9c1389418e547e7feb0dc8f4cb42fbdcd1089467 (diff) | |
| download | rust-8a1288be747bf3a777997e260e3788f27984f93a.tar.gz rust-8a1288be747bf3a777997e260e3788f27984f93a.zip | |
Give functions unique names
| -rw-r--r-- | src/test/rustdoc/issue-76501.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rustdoc/issue-76501.rs b/src/test/rustdoc/issue-76501.rs index e2755fc0358..605059fe0dd 100644 --- a/src/test/rustdoc/issue-76501.rs +++ b/src/test/rustdoc/issue-76501.rs @@ -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 } } |
