We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5da5c37 + 622b4fa commit c5d5727Copy full SHA for c5d5727
library/std/src/sys/pal/unix/thread.rs
@@ -59,7 +59,7 @@ impl Thread {
59
assert_eq!(
60
libc::pthread_attr_setstacksize(
61
attr.as_mut_ptr(),
62
- cmp::max(stack, min_stack_size(&attr))
+ cmp::max(stack, min_stack_size(attr.as_ptr()))
63
),
64
0
65
);
0 commit comments