mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 13:43:17 +00:00
Auto merge of #9196 - alex-semenyuk:invalid_regex, r=Jarcho
Fix example for `clippy::invalid_regex` Close #9194 changelog: previous example doesn't trigger lint
This commit is contained in:
commit
fdb84cbfd2
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ declare_clippy_lint! {
|
||||||
///
|
///
|
||||||
/// ### Example
|
/// ### Example
|
||||||
/// ```ignore
|
/// ```ignore
|
||||||
/// Regex::new("|")
|
/// Regex::new("(")
|
||||||
/// ```
|
/// ```
|
||||||
#[clippy::version = "pre 1.29.0"]
|
#[clippy::version = "pre 1.29.0"]
|
||||||
pub INVALID_REGEX,
|
pub INVALID_REGEX,
|
||||||
|
|
Loading…
Reference in a new issue