diff options
| author | Philipp Krones <hello@philkrones.com> | 2023-11-02 17:35:56 +0100 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2023-11-02 17:35:56 +0100 |
| commit | 77c1e3aaa10aa78e7841b03a674acdc22bb6f758 (patch) | |
| tree | 840e473e53f199f0e49a49c20d2e7c7dcf801828 /clippy_lints/src/missing_assert_message.rs | |
| parent | aae86ccc473aee83059a0bf21db9847bc65a5c37 (diff) | |
| download | rust-77c1e3aaa10aa78e7841b03a674acdc22bb6f758.tar.gz rust-77c1e3aaa10aa78e7841b03a674acdc22bb6f758.zip | |
Merge commit '09ac14c901abc43bd0d617ae4a44e8a4fed98d9c' into clippyup
Diffstat (limited to 'clippy_lints/src/missing_assert_message.rs')
| -rw-r--r-- | clippy_lints/src/missing_assert_message.rs | 4 |
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"); |
