From eee86d4340668037c12cd4c69cc40daa6564f2fb Mon Sep 17 00:00:00 2001 From: Simon BD Date: Sat, 6 Oct 2012 12:44:56 -0500 Subject: [PATCH] Remove debug info --- src/libstd/sort.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libstd/sort.rs b/src/libstd/sort.rs index a8fe79161019..f3c2f5ff4466 100644 --- a/src/libstd/sort.rs +++ b/src/libstd/sort.rs @@ -604,7 +604,7 @@ impl &MergeState { } array[dest+len2] <-> self.tmp[c1]; } else if len1 == 0 { - fail fmt!("Method merge_lo violates its contract! %?", len1); + fail ~"Comparison violates its contract!"; } else { assert len2 == 0; assert len1 > 1; @@ -747,7 +747,7 @@ impl &MergeState { } array[dest] <-> self.tmp[c2]; } else if len2 == 0 { - fail fmt!("Method merge_hi violates its contract! %?", len2); + fail ~"Coparison violates its contract!"; } else { assert len1 == 0; assert len2 != 0;