1
Fork 0

Set the non_uppercase_statics lint to warn by default

This commit is contained in:
P1start 2014-09-13 13:55:37 +12:00
parent aa034cd3ba
commit 94bcd3539c
37 changed files with 233 additions and 171 deletions

View file

@ -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 {