Skip to content

Commit 5dda8ab

Browse files
committed
sketch: Make rust sketch barf output prettier
1 parent 3499a37 commit 5dda8ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rt/rust_exchange_alloc.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ rust_get_exchange_count_ptr() {
4848
void
4949
rust_check_exchange_count_on_exit() {
5050
if (exchange_count != 0) {
51-
printf("exchange heap not empty on on exit");
52-
printf("%d dangling allocations", (int)exchange_count);
51+
printf("exchange heap not empty on exit\n");
52+
printf("%d dangling allocations\n", (int)exchange_count);
5353
abort();
5454
}
5555
}

0 commit comments

Comments
 (0)