about summary refs log tree commit diff
path: root/src/test/rustdoc/source-version-separator.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/source-version-separator.rs')
-rw-r--r--src/test/rustdoc/source-version-separator.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rustdoc/source-version-separator.rs b/src/test/rustdoc/source-version-separator.rs
index 8d23ca91801..14580373b3b 100644
--- a/src/test/rustdoc/source-version-separator.rs
+++ b/src/test/rustdoc/source-version-separator.rs
@@ -6,7 +6,7 @@
 // @has - '//div[@class="main-heading"]/*[@class="out-of-band"]' '1.0 · source · '
 #[stable(feature = "bar", since = "1.0")]
 pub trait Bar {
-    // @has - '//div[@id="tymethod.foo"]/*[@class="rightside"]' '3.0 · source'
+    // @has - '//*[@id="tymethod.foo"]/*[@class="rightside"]' '3.0 · source'
     #[stable(feature = "foobar", since = "3.0")]
     fn foo();
 }
@@ -19,7 +19,7 @@ pub trait Bar {
 pub struct Foo;
 
 impl Foo {
-    // @has - '//div[@id="method.foofoo"]/*[@class="rightside"]' '3.0 · source'
+    // @has - '//*[@id="method.foofoo"]/*[@class="rightside"]' '3.0 · source'
     #[stable(feature = "foobar", since = "3.0")]
     pub fn foofoo() {}
 }