Skip to content

Commit d6a3fbf

Browse files
committed
Auto merge of #8546 - KisaragiEffective:patch-1, r=llogiq
[`collapsible_if`] fix typo in code-block kind specifier *Please write a short comment explaining your change (or "none" for internal only changes)* changelog: [`collapsible_if`] fix typo in code-block kind specifier
2 parents b83c632 + 9f95e76 commit d6a3fbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/collapsible_if.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ declare_clippy_lint! {
4242
///
4343
/// Should be written:
4444
///
45-
/// ```rust.ignore
45+
/// ```rust,ignore
4646
/// if x && y {
4747
/// …
4848
/// }
@@ -76,7 +76,7 @@ declare_clippy_lint! {
7676
///
7777
/// Should be written:
7878
///
79-
/// ```rust.ignore
79+
/// ```rust,ignore
8080
/// if x {
8181
/// …
8282
/// } else if y {

0 commit comments

Comments
 (0)