don't test the code in the lint docs
This commit is contained in:
parent
2dc8c083f5
commit
54e7f7e5f2
@ -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>) {
|
||||
|
Loading…
Reference in New Issue
Block a user