fixup! Avoid extraneous space between visibility kw and ident for statics

This commit is contained in:
ayazhafiz 2020-10-13 16:47:53 -05:00
parent abfbd1bd71
commit e60072f5c6

View 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;