]> git.lizzy.rs Git - rust.git/commitdiff
fixup! Avoid extraneous space between visibility kw and ident for statics
authorayazhafiz <ayaz.hafiz.1@gmail.com>
Tue, 13 Oct 2020 21:47:53 +0000 (16:47 -0500)
committerayazhafiz <ayaz.hafiz.1@gmail.com>
Tue, 13 Oct 2020 21:47:53 +0000 (16:47 -0500)
src/test/rustdoc/static.rs

index aa48644918d9ada58f279bc576b0f56b62ee4405..90dafd8b3480d4a17f891f07357d165f5010f60c 100644 (file)
@@ -2,11 +2,11 @@
 
 #![crate_type = "lib"]
 
-// @has static/static.FOO.html '//pre[@class="static"]' 'static FOO: usize'
+// @has static/static.FOO.html '//pre' 'static FOO: usize'
 static FOO: usize = 1;
 
-// @has static/static.BAR.html '//pre[@class="static"]' 'pub static BAR: usize'
+// @has static/static.BAR.html '//pre' 'pub static BAR: usize'
 pub static BAR: usize = 1;
 
-// @has static/static.BAZ.html '//pre[@class="static"]' 'pub static mut BAZ: usize'
+// @has static/static.BAZ.html '//pre' 'pub static mut BAZ: usize'
 pub static mut BAZ: usize = 1;