diff options
| author | Andy Weiss <dragonbear@google.com> | 2020-04-09 22:12:34 -0700 |
|---|---|---|
| committer | Andy Weiss <dragonbear@google.com> | 2020-04-21 21:07:43 -0700 |
| commit | 54e7f7e5f2d38ef74e5e3e8de44beccc251cf5d7 (patch) | |
| tree | 7791858d365ce13b017b508c4933dc235f5797e3 | |
| parent | 2dc8c083f54454ca87bb09d691577eada2d23539 (diff) | |
| download | rust-54e7f7e5f2d38ef74e5e3e8de44beccc251cf5d7.tar.gz rust-54e7f7e5f2d38ef74e5e3e8de44beccc251cf5d7.zip | |
don't test the code in the lint docs
| -rw-r--r-- | clippy_lints/src/await_holding_lock.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/await_holding_lock.rs b/clippy_lints/src/await_holding_lock.rs index 8e3e0ed0430..1b2b020bd55 100644 --- a/clippy_lints/src/await_holding_lock.rs +++ b/clippy_lints/src/await_holding_lock.rs @@ -18,7 +18,7 @@ declare_clippy_lint! { /// /// **Example:** /// - /// ```rust + /// ```rust,ignore /// use std::sync::Mutex; /// /// async fn foo(x: &Mutex<u32>) { @@ -28,7 +28,7 @@ declare_clippy_lint! { /// } /// ``` /// Use instead: - /// ```rust + /// ```rust,ignore /// use std::sync::Mutex; /// /// async fn foo(x: &Mutex<u32>) { |
