diff options
| author | bors <bors@rust-lang.org> | 2014-06-10 15:17:01 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-06-10 15:17:01 -0700 |
| commit | b1302f9c4f6619bf83fff39b305b990d8f628eb7 (patch) | |
| tree | 00429f512aed143f46f4b0ea8a23c2028db2c123 /src/libsyntax/print | |
| parent | 7f777a5ba49785a74e5365e9897ddf4c02ea8519 (diff) | |
| parent | c2c99463720e758d5aa0bdcea19dc5b3dd67292c (diff) | |
| download | rust-b1302f9c4f6619bf83fff39b305b990d8f628eb7.tar.gz rust-b1302f9c4f6619bf83fff39b305b990d8f628eb7.zip | |
auto merge of #14764 : jbcrail/rust/fix-more-comments, r=alexcrichton
Diffstat (limited to 'src/libsyntax/print')
| -rw-r--r-- | src/libsyntax/print/pp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/print/pp.rs b/src/libsyntax/print/pp.rs index ec9ca655064..4fefa1f1d3d 100644 --- a/src/libsyntax/print/pp.rs +++ b/src/libsyntax/print/pp.rs @@ -233,7 +233,7 @@ pub fn mk_printer(out: Box<io::Writer>, linewidth: uint) -> Printer { * * There is a parallel ring buffer, 'size', that holds the calculated size of * each token. Why calculated? Because for Begin/End pairs, the "size" - * includes everything betwen the pair. That is, the "size" of Begin is + * includes everything between the pair. That is, the "size" of Begin is * actually the sum of the sizes of everything between Begin and the paired * End that follows. Since that is arbitrarily far in the future, 'size' is * being rewritten regularly while the printer runs; in fact most of the @@ -434,7 +434,7 @@ impl Printer { assert!((self.right != self.left)); } pub fn advance_left(&mut self, x: Token, l: int) -> io::IoResult<()> { - debug!("advnce_left ~[{},{}], sizeof({})={}", self.left, self.right, + debug!("advance_left ~[{},{}], sizeof({})={}", self.left, self.right, self.left, l); if l >= 0 { let ret = self.print(x.clone(), l); |
