]> git.lizzy.rs Git - rust.git/commitdiff
pp: typo in comment
authorBenjamin Herr <ben@0x539.de>
Tue, 17 Sep 2013 17:45:14 +0000 (19:45 +0200)
committerBenjamin Herr <ben@0x539.de>
Tue, 17 Sep 2013 20:27:12 +0000 (22:27 +0200)
src/libsyntax/print/pp.rs

index af2a49770828b5c219049f64e2ec28fad41ed83b..615f33013736fc566c5d4f89d38dba2ec87d7f8c 100644 (file)
@@ -243,7 +243,7 @@ pub fn mk_printer(out: @io::Writer, linewidth: uint) -> @mut Printer {
  * the entire buffered window, but can't output anything until the size is >=
  * 0 (sizes are set to negative while they're pending calculation).
  *
- * So SCAN takeks input and buffers tokens and pending calculations, while
+ * So SCAN takes input and buffers tokens and pending calculations, while
  * PRINT gobbles up completed calculations and tokens from the buffer. The
  * theory is that the two can never get more than 3N tokens apart, because
  * once there's "obviously" too much data to fit on a line, in a size