Skip to content

Commit

Permalink
fixup! Avoid extraneous space between visibility kw and ident for sta…
Browse files Browse the repository at this point in the history
…tics
  • Loading branch information
ayazhafiz committed Oct 13, 2020
1 parent abfbd1b commit e60072f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/rustdoc/static.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit e60072f

Please sign in to comment.