don't test the code in the lint docs

This commit is contained in:
Andy Weiss 2020-04-09 22:12:34 -07:00
parent 2dc8c083f5
commit 54e7f7e5f2

View File

@ -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>) {