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/libextra/fileinput.rs | |
| parent | 15a6bdebab4e7b811b9a902e3f8ed225c59af06e (diff) | |
Drop the '2' suffix from logging macros
Who doesn't like a massive renaming?
Diffstat (limited to 'src/libextra/fileinput.rs')
| -rw-r--r-- | src/libextra/fileinput.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libextra/fileinput.rs b/src/libextra/fileinput.rs index 8f176d5ccea..fda88c583ce 100644 --- a/src/libextra/fileinput.rs +++ b/src/libextra/fileinput.rs @@ -506,7 +506,7 @@ mod test { let contents = vec::from_fn(3, |j| format!("{} {}", i, j)); make_file(filename.get_ref(), contents); - debug2!("contents={:?}", contents); + debug!("contents={:?}", contents); all_lines.push_all(contents); } @@ -555,7 +555,7 @@ mod test { let expected_path = match line { "1" | "2" => filenames[0].clone(), "3" | "4" => filenames[2].clone(), - _ => fail2!("unexpected line") + _ => fail!("unexpected line") }; assert_eq!(state.current_path.clone(), expected_path); count += 1; |
