about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCaleb Zulawski <caleb.zulawski@gmail.com>2022-08-01 00:38:29 -0400
committerCaleb Zulawski <caleb.zulawski@gmail.com>2022-08-01 00:38:29 -0400
commitc739af3908613ba3f611dce115525e2f2f91bfca (patch)
treed0d54aea7ae366aee1df558df0e4833147b35c5c
parent6bf512823548b4fdbb7127489e883bff8a98b33f (diff)
downloadrust-c739af3908613ba3f611dce115525e2f2f91bfca.tar.gz
rust-c739af3908613ba3f611dce115525e2f2f91bfca.zip
Hide rustc unstable feature from docs
-rw-r--r--crates/core_simd/src/swizzle.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/core_simd/src/swizzle.rs b/crates/core_simd/src/swizzle.rs
index 0b66b8a0ae0..72cce7aeb04 100644
--- a/crates/core_simd/src/swizzle.rs
+++ b/crates/core_simd/src/swizzle.rs
@@ -271,7 +271,7 @@ where
     /// The reverse of this operation is [`Simd::deinterleave`].
     ///
     /// ```
-    /// #![feature(portable_simd)]
+    /// # #![feature(portable_simd)]
     /// # use core::simd::Simd;
     /// let a = Simd::from_array([0, 1, 2, 3]);
     /// let b = Simd::from_array([4, 5, 6, 7]);
@@ -324,7 +324,7 @@ where
     /// The reverse of this operation is [`Simd::interleave`].
     ///
     /// ```
-    /// #![feature(portable_simd)]
+    /// # #![feature(portable_simd)]
     /// # use core::simd::Simd;
     /// let a = Simd::from_array([0, 4, 1, 5]);
     /// let b = Simd::from_array([2, 6, 3, 7]);