about summary refs log tree commit diff
diff options
context:
space:
mode:
authormiguel raz <miguelraz@gmail.com>2021-05-25 20:07:20 -0500
committermiguel raz <miguelraz@gmail.com>2021-05-25 20:07:20 -0500
commit2591c59ba75f812329c44078b31b3ca140d01055 (patch)
tree5c70b50f53c011f13885411677fb52b91d671bc9
parente52d51cd45230068a98e5e809dabf1671bc6d630 (diff)
downloadrust-2591c59ba75f812329c44078b31b3ca140d01055.tar.gz
rust-2591c59ba75f812329c44078b31b3ca140d01055.zip
fix imports
-rw-r--r--crates/core_simd/examples/nbody.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/core_simd/examples/nbody.rs b/crates/core_simd/examples/nbody.rs
index a474bbe3925..4ca371f4456 100644
--- a/crates/core_simd/examples/nbody.rs
+++ b/crates/core_simd/examples/nbody.rs
@@ -1,4 +1,5 @@
-use stdsimd::simd::*;
+#![feature(platform_intrinsics, repr_simd)]
+use core_simd::*;
 
 use std::f64::consts::PI;
 const SOLAR_MASS: f64 = 4.0 * PI * PI;