1
Fork 0

Drop the '2' suffix from logging macros

Who doesn't like a massive renaming?
This commit is contained in:
Alex Crichton 2013-10-21 13:08:31 -07:00
parent 15a6bdebab
commit daf5f5a4d1
726 changed files with 3060 additions and 3060 deletions

View file

@ -44,7 +44,7 @@ impl<T> Cell<T> {
pub fn take(&self) -> T {
let this = unsafe { transmute_mut(self) };
if this.is_empty() {
fail2!("attempt to take an empty cell");
fail!("attempt to take an empty cell");
}
this.value.take_unwrap()
@ -60,7 +60,7 @@ impl<T> Cell<T> {
pub fn put_back(&self, value: T) {
let this = unsafe { transmute_mut(self) };
if !this.is_empty() {
fail2!("attempt to put a value back into a full cell");
fail!("attempt to put a value back into a full cell");
}
this.value = Some(value);
}