diff options
| author | Pythoner6 <pythoner6@gmail.com> | 2014-07-27 07:50:46 -0400 |
|---|---|---|
| committer | Joseph Martin <pythoner6@gmail.com> | 2014-08-29 23:44:08 -0400 |
| commit | aec34d8f2673c0fc1f83082718a94bd8f02578f0 (patch) | |
| tree | 559adc404bd0db9c1ce72fb9de536f7e6e59f24b /src/libsyntax | |
| parent | 373b9d624341b431dd09be6c7742ef84b8e70a98 (diff) | |
| download | rust-aec34d8f2673c0fc1f83082718a94bd8f02578f0.tar.gz rust-aec34d8f2673c0fc1f83082718a94bd8f02578f0.zip | |
Fix formatting, update copyright dates
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/fold.rs | 6 | ||||
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 2 | ||||
| -rw-r--r-- | src/libsyntax/visit.rs | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/libsyntax/fold.rs b/src/libsyntax/fold.rs index 946ff7ff3a4..7deabed04b8 100644 --- a/src/libsyntax/fold.rs +++ b/src/libsyntax/fold.rs @@ -1,4 +1,4 @@ -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // @@ -1133,8 +1133,8 @@ pub fn noop_fold_expr<T: Folder>(e: Gc<Expr>, folder: &mut T) -> Gc<Expr> { fl.map(|x| folder.fold_expr(x))) } ExprWhile(cond, body, opt_ident) => { - ExprWhile(folder.fold_expr(cond), - folder.fold_block(body), + ExprWhile(folder.fold_expr(cond), + folder.fold_block(body), opt_ident.map(|i| folder.fold_ident(i))) } ExprForLoop(pat, iter, body, ref opt_ident) => { diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index c0483f16213..6b94048eab7 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -1,4 +1,4 @@ -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // diff --git a/src/libsyntax/visit.rs b/src/libsyntax/visit.rs index ffe8c0e6e01..65e192e8437 100644 --- a/src/libsyntax/visit.rs +++ b/src/libsyntax/visit.rs @@ -1,4 +1,4 @@ -// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT +// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // |
