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
@ -19,7 +19,7 @@ declare_clippy_lint! {
|
||||
///
|
||||
/// ### Example
|
||||
/// ```ignore
|
||||
/// Regex::new("|")
|
||||
/// Regex::new("(")
|
||||
/// ```
|
||||
#[clippy::version = "pre 1.29.0"]
|
||||
pub INVALID_REGEX,
|
||||
|
Loading…
x
Reference in New Issue
Block a user