Skip to content

Commit bd46080

Browse files
committed
fix assert macro
1 parent f8ede41 commit bd46080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sys/pal/unix/thread.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ impl Thread {
385385
if ret == KERN_SUCCESS {
386386
break;
387387
}
388-
assert_eq!(KERN_ABORTED, "mach_wait_until returned error");
388+
assert_eq!(ret, KERN_ABORTED, "mach_wait_until returned error, code: {}", ret);
389389
}
390390
}
391391
}

0 commit comments

Comments
 (0)