diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-10-21 13:08:31 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-10-22 08:09:56 -0700 |
| commit | daf5f5a4d10513ff42e79fa7ef8819b170f3a13d (patch) | |
| tree | 7a07a79c43e02debcc6bbb33d90a5e41b70119e6 /src/test/run-pass/while.rs | |
| parent | 15a6bdebab4e7b811b9a902e3f8ed225c59af06e (diff) | |
| download | rust-daf5f5a4d10513ff42e79fa7ef8819b170f3a13d.tar.gz rust-daf5f5a4d10513ff42e79fa7ef8819b170f3a13d.zip | |
Drop the '2' suffix from logging macros
Who doesn't like a massive renaming?
Diffstat (limited to 'src/test/run-pass/while.rs')
| -rw-r--r-- | src/test/run-pass/while.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/run-pass/while.rs b/src/test/run-pass/while.rs index 4295c89865f..fe2506ad686 100644 --- a/src/test/run-pass/while.rs +++ b/src/test/run-pass/while.rs @@ -13,10 +13,10 @@ pub fn main() { let mut x: int = 10; let mut y: int = 0; - while y < x { info2!("{}", y); info2!("hello"); y = y + 1; } + while y < x { info!("{}", y); info!("hello"); y = y + 1; } while x > 0 { - info2!("goodbye"); + info!("goodbye"); x = x - 1; - info2!("{}", x); + info!("{}", x); } } |
