Remove useless assert! case
This commit is contained in:
parent
b0b7c252d7
commit
ca84d79375
1 changed files with 0 additions and 5 deletions
|
|
@ -90,11 +90,6 @@ macro_rules! assert(
|
|||
fail!("assertion failed: {:s}", stringify!($cond))
|
||||
}
|
||||
);
|
||||
($cond:expr, $msg:expr) => (
|
||||
if !$cond {
|
||||
fail!($msg)
|
||||
}
|
||||
);
|
||||
($cond:expr, $($arg:expr),+) => (
|
||||
if !$cond {
|
||||
fail!($($arg),+)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue