Don't run examples
This commit is contained in:
parent
9e0ce14700
commit
99bfee7201
1 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ declare_clippy_lint! {
|
|||
/// The arm is unreachable, which is likely a mistake
|
||||
///
|
||||
/// ### Example
|
||||
/// ```rust
|
||||
/// ```rust,no_run
|
||||
/// match &*text.to_ascii_lowercase() {
|
||||
/// "foo" => {},
|
||||
/// "Bar" => {},
|
||||
|
|
@ -26,7 +26,7 @@ declare_clippy_lint! {
|
|||
/// }
|
||||
/// ```
|
||||
/// Use instead:
|
||||
/// ```rust
|
||||
/// ```rust,no_run
|
||||
/// match &*text.to_ascii_lowercase() {
|
||||
/// "foo" => {},
|
||||
/// "bar" => {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue