diff options
| author | Alexei Sholik <alcosholik@gmail.com> | 2013-06-06 10:38:41 +0300 |
|---|---|---|
| committer | Alexei Sholik <alcosholik@gmail.com> | 2013-06-06 10:48:27 +0300 |
| commit | e75572c879a5fb9d95e4fe95465a5bf19c7db076 (patch) | |
| tree | 5e0f82a1394c2acc0429db7b1df8e51794e17a24 /src/libsyntax | |
| parent | c7b19b04cbde053f0cf7a15b989bc6546cd2e265 (diff) | |
| download | rust-e75572c879a5fb9d95e4fe95465a5bf19c7db076.tar.gz rust-e75572c879a5fb9d95e4fe95465a5bf19c7db076.zip | |
Deduplicate words in code comments
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 | ||||
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 2fd0a7e33ff..a6b67ccea9d 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -3093,7 +3093,7 @@ impl Parser { self.expect(&token::LPAREN); - // A bit of complexity and lookahead is needed here in order to to be + // A bit of complexity and lookahead is needed here in order to be // backwards compatible. let lo = self.span.lo; let explicit_self = match *self.token { diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index 57e78d3ad84..e871ee5c9bf 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -1672,7 +1672,7 @@ pub fn print_fn(s: @ps, pub fn print_fn_args(s: @ps, decl: &ast::fn_decl, opt_explicit_self: Option<ast::explicit_self_>) { - // It is unfortunate to duplicate the commasep logic, but we we want the + // It is unfortunate to duplicate the commasep logic, but we want the // self type and the args all in the same box. box(s, 0u, inconsistent); let mut first = true; @@ -1919,7 +1919,7 @@ pub fn print_ty_fn(s: @ps, zerobreak(s.s); popen(s); - // It is unfortunate to duplicate the commasep logic, but we we want the + // It is unfortunate to duplicate the commasep logic, but we want the // self type and the args all in the same box. box(s, 0u, inconsistent); let mut first = true; |
