Don't run examples
This commit is contained in:
parent
9e0ce14700
commit
99bfee7201
@ -18,7 +18,7 @@ declare_clippy_lint! {
|
|||||||
/// The arm is unreachable, which is likely a mistake
|
/// The arm is unreachable, which is likely a mistake
|
||||||
///
|
///
|
||||||
/// ### Example
|
/// ### Example
|
||||||
/// ```rust
|
/// ```rust,no_run
|
||||||
/// match &*text.to_ascii_lowercase() {
|
/// match &*text.to_ascii_lowercase() {
|
||||||
/// "foo" => {},
|
/// "foo" => {},
|
||||||
/// "Bar" => {},
|
/// "Bar" => {},
|
||||||
@ -26,7 +26,7 @@ declare_clippy_lint! {
|
|||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
/// Use instead:
|
/// Use instead:
|
||||||
/// ```rust
|
/// ```rust,no_run
|
||||||
/// match &*text.to_ascii_lowercase() {
|
/// match &*text.to_ascii_lowercase() {
|
||||||
/// "foo" => {},
|
/// "foo" => {},
|
||||||
/// "bar" => {},
|
/// "bar" => {},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user