mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +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
|
||||
/// ```ignore
|
||||
/// Regex::new("|")
|
||||
/// Regex::new("(")
|
||||
/// ```
|
||||
#[clippy::version = "pre 1.29.0"]
|
||||
pub INVALID_REGEX,
|
||||
|
|
Loading…
Reference in a new issue