1
Fork 0

librustc: Convert all uses of assert over to fail_unless!

This commit is contained in:
Patrick Walton 2013-03-06 13:58:02 -08:00
parent 0ea031bcb8
commit d7e74b5e91
817 changed files with 6378 additions and 6335 deletions

View file

@ -22,6 +22,6 @@ impl Bar for A {
pub fn main() {
let a = &A { x: 3 };
assert a.g() == 10;
fail_unless!(a.g() == 10);
}