about summary refs log tree commit diff
path: root/clippy_lints/src/inherent_impl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'clippy_lints/src/inherent_impl.rs')
-rw-r--r--clippy_lints/src/inherent_impl.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/inherent_impl.rs b/clippy_lints/src/inherent_impl.rs
index 3d1113ff9cc..a61a6416193 100644
--- a/clippy_lints/src/inherent_impl.rs
+++ b/clippy_lints/src/inherent_impl.rs
@@ -18,7 +18,7 @@ declare_clippy_lint! {
     /// Splitting the implementation of a type makes the code harder to navigate.
     ///
     /// ### Example
-    /// ```rust
+    /// ```no_run
     /// struct X;
     /// impl X {
     ///     fn one() {}
@@ -30,7 +30,7 @@ declare_clippy_lint! {
     ///
     /// Could be written:
     ///
-    /// ```rust
+    /// ```no_run
     /// struct X;
     /// impl X {
     ///     fn one() {}