about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/simd.rs2
-rw-r--r--src/libcore/str.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/simd.rs b/src/libcore/simd.rs
index 369a7106583..252a24e3aa9 100644
--- a/src/libcore/simd.rs
+++ b/src/libcore/simd.rs
@@ -29,7 +29,7 @@
 //! }
 //! ```
 //!
-//! ## Stability Note
+//! # Stability Note
 //!
 //! These are all experimental. The interface may change entirely, without
 //! warning.
diff --git a/src/libcore/str.rs b/src/libcore/str.rs
index 92f82bd9771..e632934782c 100644
--- a/src/libcore/str.rs
+++ b/src/libcore/str.rs
@@ -1757,9 +1757,9 @@ pub trait StrPrelude for Sized? {
     /// }
     /// ```
     ///
-    /// ## Output
+    /// This outputs:
     ///
-    /// ```ignore
+    /// ```text
     /// 0: 中
     /// 3: 华
     /// 6: V