]> git.lizzy.rs Git - rust.git/blobdiff - tests/rustdoc/where.rs
Update snap from `1.0.1` to `1.1.0`
[rust.git] / tests / rustdoc / where.rs
index 8b5bce28f5a2ac4cbc3552fd7d0fb0cb5de95ce5..3ac0c6872a82150c4a621c8919f96a81a7e431ff 100644 (file)
@@ -57,6 +57,6 @@ pub enum Foxtrot<F> { Foxtrot1(F) }
 //          "impl<F> MyTrait for Foxtrot<F>where F: MyTrait"
 impl<F> MyTrait for Foxtrot<F>where F: MyTrait {}
 
-// @has foo/type.Golf.html '//pre[@class="rust typedef"]' \
+// @has foo/type.Golf.html '//div[@class="item-decl"]/pre[@class="rust"]' \
 //          "type Golf<T>where T: Clone, = (T, T)"
 pub type Golf<T> where T: Clone = (T, T);