about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-06-06 00:58:37 -0700
committerbors <bors@rust-lang.org>2013-06-06 00:58:37 -0700
commit7ce700aa6528df24b39b65e2e8c3c6cd1758a02b (patch)
tree5e0f82a1394c2acc0429db7b1df8e51794e17a24 /src/libsyntax
parent7e62ad6876550e9a7de7f5e6039707f4a8e15f9b (diff)
parente75572c879a5fb9d95e4fe95465a5bf19c7db076 (diff)
downloadrust-7ce700aa6528df24b39b65e2e8c3c6cd1758a02b.tar.gz
rust-7ce700aa6528df24b39b65e2e8c3c6cd1758a02b.zip
auto merge of #6966 : alco/rust/fix-typo, r=sanxiyn
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/parse/parser.rs2
-rw-r--r--src/libsyntax/print/pprust.rs4
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;