about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/std/src/io/error.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/library/std/src/io/error.rs b/library/std/src/io/error.rs
index 8f2119425d1..811688175e0 100644
--- a/library/std/src/io/error.rs
+++ b/library/std/src/io/error.rs
@@ -821,9 +821,10 @@ impl Error {
     /// }
     ///
     /// impl fmt::Display for E {
-    ///     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
-    ///         todo!()
-    ///     }
+    ///    // ...
+    /// #    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
+    /// #        todo!()
+    /// #    }
     /// }
     /// impl Error for E {}
     ///