We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 97600a0 + 129cda1 commit 83e302aCopy full SHA for 83e302a
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