mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 23:12:02 +00:00
fixup! Avoid extraneous space between visibility kw and ident for statics
This commit is contained in:
parent
abfbd1bd71
commit
e60072f5c6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user