about summary refs log tree commit diff
path: root/src/libstd/at_vec.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-10-21 13:08:31 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-10-22 08:09:56 -0700
commitdaf5f5a4d10513ff42e79fa7ef8819b170f3a13d (patch)
tree7a07a79c43e02debcc6bbb33d90a5e41b70119e6 /src/libstd/at_vec.rs
parent15a6bdebab4e7b811b9a902e3f8ed225c59af06e (diff)
Drop the '2' suffix from logging macros
Who doesn't like a massive renaming?
Diffstat (limited to 'src/libstd/at_vec.rs')
-rw-r--r--src/libstd/at_vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/at_vec.rs b/src/libstd/at_vec.rs
index 8607710edc3..ee0b9b0df0b 100644
--- a/src/libstd/at_vec.rs
+++ b/src/libstd/at_vec.rs
@@ -238,7 +238,7 @@ pub mod raw {
                 let alloc = n * (*ty).size;
                 let total_size = alloc + mem::size_of::<Vec<()>>();
                 if alloc / (*ty).size != n || total_size < alloc {
-                    fail2!("vector size is too large: {}", n);
+                    fail!("vector size is too large: {}", n);
                 }
                 (*ptr) = local_realloc(*ptr as *(), total_size) as *mut Box<Vec<()>>;
                 (**ptr).data.alloc = alloc;