Skip to content

Commit

Permalink
Auto merge of rust-lang#9068 - tamaroning:fix-typo-2022-6-30, r=giraf…
Browse files Browse the repository at this point in the history
…fate,xFrednet

fix typo in Clippy Lints page

https://rust-lang.github.io/rust-clippy/master/#significant_drop_in_scrutinee

changelog: none
  • Loading branch information
bors committed Jun 30, 2022
2 parents 88591ba + 5d9e1b6 commit ff3964a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clippy_lints/src/large_const_arrays.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion clippy_lints/src/matches/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Expand Down

0 comments on commit ff3964a

Please sign in to comment.