1
Fork 0

Fallout - change array syntax to use ;

This commit is contained in:
Nick Cameron 2014-12-30 21:19:41 +13:00
parent 57a74eda88
commit 7e2b9ea235
66 changed files with 223 additions and 222 deletions

View file

@ -399,7 +399,7 @@ fn escape_char(writer: &mut io::Writer, v: char) -> Result<(), io::IoError> {
fn spaces(wr: &mut io::Writer, mut n: uint) -> Result<(), io::IoError> {
const LEN: uint = 16;
static BUF: [u8, ..LEN] = [b' ', ..LEN];
static BUF: [u8; LEN] = [b' '; LEN];
while n >= LEN {
try!(wr.write(&BUF));