summary refs log tree commit diff
path: root/src/libsyntax/print
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-02-18 14:35:01 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-02-18 14:35:01 -0800
commit5250a82f7917d6f9ec590e7e762bfd036e21ef74 (patch)
tree38ce94117b42eb159b630d0a97748b5f3056fbe5 /src/libsyntax/print
parent5a32b4a34fc6fbd78e293b16f7ba7d06caca7a48 (diff)
parent811c48fe22ffbe4ca45c32807c846d9a7c02a8f3 (diff)
downloadrust-5250a82f7917d6f9ec590e7e762bfd036e21ef74.tar.gz
rust-5250a82f7917d6f9ec590e7e762bfd036e21ef74.zip
rollup merge of #22497: nikomatsakis/suffixes
Conflicts:
	src/librustc_trans/trans/tvec.rs
Diffstat (limited to 'src/libsyntax/print')
-rw-r--r--src/libsyntax/print/pp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/print/pp.rs b/src/libsyntax/print/pp.rs
index 707b3c72ecd..6c6cf186e70 100644
--- a/src/libsyntax/print/pp.rs
+++ b/src/libsyntax/print/pp.rs
@@ -168,7 +168,7 @@ pub fn mk_printer(out: Box<old_io::Writer+'static>, linewidth: usize) -> Printer
     debug!("mk_printer {}", linewidth);
     let token: Vec<Token> = repeat(Token::Eof).take(n).collect();
     let size: Vec<isize> = repeat(0).take(n).collect();
-    let scan_stack: Vec<usize> = repeat(0us).take(n).collect();
+    let scan_stack: Vec<usize> = repeat(0).take(n).collect();
     Printer {
         out: out,
         buf_len: n,