diff --git a/src/test/rustdoc/issue-25001.rs b/src/test/rustdoc/issue-25001.rs index 2343b610ce4..25c97ee2c76 100644 --- a/src/test/rustdoc/issue-25001.rs +++ b/src/test/rustdoc/issue-25001.rs @@ -17,15 +17,15 @@ pub trait Bar { fn quux(self); } -impl Foo { +impl Foo { // @has - '//*[@id="method.pass"]//code' 'fn pass()' pub fn pass() {} } -impl Foo { +impl Foo { // @has - '//*[@id="method.pass-1"]//code' 'fn pass() -> usize' pub fn pass() -> usize { 42 } } -impl Foo { +impl Foo { // @has - '//*[@id="method.pass-2"]//code' 'fn pass() -> isize' pub fn pass() -> isize { 42 } }