From 5d75a9bd4c4ec2d6c80be2d91edea57c7f0871b6 Mon Sep 17 00:00:00 2001 From: tamaron Date: Thu, 30 Jun 2022 11:59:23 +0900 Subject: [PATCH 1/2] fix --- clippy_lints/src/matches/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/matches/mod.rs b/clippy_lints/src/matches/mod.rs index d43ad1b8c9c6..b2a873ef5823 100644 --- a/clippy_lints/src/matches/mod.rs +++ b/clippy_lints/src/matches/mod.rs @@ -791,7 +791,7 @@ declare_clippy_lint! { /// the match block and thus will not unlock. /// /// ### Example - /// ```rust.ignore + /// ```rust,ignore /// # use std::sync::Mutex; /// /// # struct State {} From 5d9e1b6f009f67c401905551d774aa352f5b9273 Mon Sep 17 00:00:00 2001 From: tamaron Date: Thu, 30 Jun 2022 13:21:17 +0900 Subject: [PATCH 2/2] Update large_const_arrays.rs --- clippy_lints/src/large_const_arrays.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/large_const_arrays.rs b/clippy_lints/src/large_const_arrays.rs index 289755bfec66..984c5cd4e37c 100644 --- a/clippy_lints/src/large_const_arrays.rs +++ b/clippy_lints/src/large_const_arrays.rs @@ -24,7 +24,7 @@ declare_clippy_lint! { /// ``` /// /// Use instead: - /// ```rust.ignore + /// ```rust,ignore /// pub static a = [0u32; 1_000_000]; /// ``` #[clippy::version = "1.44.0"]