mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
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