Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit c6f48eb

Browse files
committed
Fix warning
1 parent 90298f1 commit c6f48eb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

example/mini_core_hello_world.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,10 +344,8 @@ fn main() {
344344
#[repr(simd)]
345345
struct V([f64; 2]);
346346

347-
unsafe {
348-
let f = V([0.0, 1.0]);
349-
let _a = f.0[0];
350-
}
347+
let f = V([0.0, 1.0]);
348+
let _a = f.0[0];
351349
}
352350

353351
#[cfg(all(not(jit), target_arch = "x86_64", any(target_os = "linux", target_os = "darwin")))]

0 commit comments

Comments
 (0)