Fallout - change array syntax to use ;
This commit is contained in:
parent
57a74eda88
commit
7e2b9ea235
66 changed files with 223 additions and 222 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue