diff --git a/clippy_lints/src/await_holding_lock.rs b/clippy_lints/src/await_holding_lock.rs index 8e3e0ed0430b2..1b2b020bd5550 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) { @@ -28,7 +28,7 @@ declare_clippy_lint! { /// } /// ``` /// Use instead: - /// ```rust + /// ```rust,ignore /// use std::sync::Mutex; /// /// async fn foo(x: &Mutex) {