Skip to content

Commit ff3964a

Browse files
committed
Auto merge of rust-lang#9068 - tamaroning:fix-typo-2022-6-30, r=giraffate,xFrednet
fix typo in Clippy Lints page https://rust-lang.github.io/rust-clippy/master/#significant_drop_in_scrutinee changelog: none
2 parents 88591ba + 5d9e1b6 commit ff3964a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clippy_lints/src/large_const_arrays.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ declare_clippy_lint! {
2424
/// ```
2525
///
2626
/// Use instead:
27-
/// ```rust.ignore
27+
/// ```rust,ignore
2828
/// pub static a = [0u32; 1_000_000];
2929
/// ```
3030
#[clippy::version = "1.44.0"]

clippy_lints/src/matches/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ declare_clippy_lint! {
791791
/// the match block and thus will not unlock.
792792
///
793793
/// ### Example
794-
/// ```rust.ignore
794+
/// ```rust,ignore
795795
/// # use std::sync::Mutex;
796796
///
797797
/// # struct State {}

0 commit comments

Comments
 (0)