Set the non_uppercase_statics
lint to warn by default
This commit is contained in:
parent
aa034cd3ba
commit
94bcd3539c
37 changed files with 233 additions and 171 deletions
|
@ -360,7 +360,9 @@ fn escape_char(writer: &mut io::Writer, v: char) -> Result<(), io::IoError> {
|
|||
}
|
||||
|
||||
fn spaces(wr: &mut io::Writer, mut n: uint) -> Result<(), io::IoError> {
|
||||
#[allow(non_uppercase_statics)]
|
||||
static len: uint = 16;
|
||||
#[allow(non_uppercase_statics)]
|
||||
static buf: [u8, ..len] = [b' ', ..len];
|
||||
|
||||
while n >= len {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue