mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
fmt
This commit is contained in:
parent
4d824fd5b7
commit
1692d12c1c
@ -29,7 +29,7 @@ fn main() {
|
||||
// when it actually happened), we'd miss the UB in this test.
|
||||
// Also, the UB error should point at the write above, not the addr-of here.
|
||||
P.store(std::ptr::addr_of_mut!(val), Relaxed);
|
||||
|
||||
|
||||
// Wait for the thread to be done.
|
||||
t1.join().unwrap();
|
||||
|
||||
|
@ -28,7 +28,7 @@ fn main() {
|
||||
// when it actually happened), we'd miss the UB in this test.
|
||||
// Also, the UB error should point at the write above, not the addr-of here.
|
||||
P.store(std::ptr::addr_of_mut!(val), Relaxed);
|
||||
|
||||
|
||||
// Wait for the thread to be done.
|
||||
t1.join().unwrap();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user