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/arc.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/libextra/arc.rs')
| -rw-r--r-- | src/libextra/arc.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libextra/arc.rs b/src/libextra/arc.rs index d1e7534795b..66dad4721aa 100644 --- a/src/libextra/arc.rs +++ b/src/libextra/arc.rs @@ -255,7 +255,7 @@ impl<T:Send> MutexArc<T> { let inner = x.unwrap(); let MutexArcInner { failed: failed, data: data, _ } = inner; if failed { - fail2!("Can't unwrap poisoned MutexArc - another task failed inside!"); + fail!("Can't unwrap poisoned MutexArc - another task failed inside!"); } data } @@ -300,9 +300,9 @@ impl<T:Freeze + Send> MutexArc<T> { fn check_poison(is_mutex: bool, failed: bool) { if failed { if is_mutex { - fail2!("Poisoned MutexArc - another task failed inside!"); + fail!("Poisoned MutexArc - another task failed inside!"); } else { - fail2!("Poisoned rw_arc - another task failed inside!"); + fail!("Poisoned rw_arc - another task failed inside!"); } } } @@ -505,7 +505,7 @@ impl<T:Freeze + Send> RWArc<T> { let inner = x.unwrap(); let RWArcInner { failed: failed, data: data, _ } = inner; if failed { - fail2!("Can't unwrap poisoned RWArc - another task failed inside!") + fail!("Can't unwrap poisoned RWArc - another task failed inside!") } data } @@ -619,7 +619,7 @@ mod tests { assert_eq!(arc_v.get()[2], 3); assert_eq!(arc_v.get()[4], 5); - info2!("{:?}", arc_v); + info!("{:?}", arc_v); } #[test] |
