Fix example for clippy::invalid_regex
This commit is contained in:
parent
3a4e4575ed
commit
142898e544
@ -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