From e75572c879a5fb9d95e4fe95465a5bf19c7db076 Mon Sep 17 00:00:00 2001 From: Alexei Sholik Date: Thu, 6 Jun 2013 10:38:41 +0300 Subject: Deduplicate words in code comments --- src/libsyntax/parse/parser.rs | 2 +- src/libsyntax/print/pprust.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libsyntax') 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) { - // 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; -- cgit 1.4.1-3-g733a5