about summary refs log tree commit diff
path: root/clippy_lints/src/missing_assert_message.rs
diff options
context:
space:
mode:
authorAlex Macleod <alex@macleod.io>2023-10-23 13:49:18 +0000
committerAlex Macleod <alex@macleod.io>2023-10-23 15:28:26 +0000
commit7347c1803fa9c151033eb30fd722ff6d6d08ee49 (patch)
tree362668da264adea11bfd86e11184327d7c9782f0 /clippy_lints/src/missing_assert_message.rs
parent56ece10c88c6fb93cc3592606b364c201fb45127 (diff)
Set existing doc-tests to `no_run`
Diffstat (limited to 'clippy_lints/src/missing_assert_message.rs')
-rw-r--r--clippy_lints/src/missing_assert_message.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/missing_assert_message.rs b/clippy_lints/src/missing_assert_message.rs
index 136947a2c8c..4e00215c5cb 100644
--- a/clippy_lints/src/missing_assert_message.rs
+++ b/clippy_lints/src/missing_assert_message.rs
@@ -27,14 +27,14 @@ declare_clippy_lint! {
     /// don't provide any extra information.
     ///
     /// ### Example
-    /// ```rust
+    /// ```no_run
     /// # struct Service { ready: bool }
     /// fn call(service: Service) {
     ///     assert!(service.ready);
     /// }
     /// ```
     /// Use instead:
-    /// ```rust
+    /// ```no_run
     /// # struct Service { ready: bool }
     /// fn call(service: Service) {
     ///     assert!(service.ready, "`service.poll_ready()` must be called first to ensure that service is ready to receive requests");