Don't run examples

This commit is contained in:
Serial 2021-10-11 20:40:13 -04:00
parent 9e0ce14700
commit 99bfee7201

View File

@ -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" => {},