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:
bors
2022-07-17 23:08:04 +00:00
+1 -1
View File
@@ -19,7 +19,7 @@
///
/// ### Example
/// ```ignore
/// Regex::new("|")
/// Regex::new("(")
/// ```
#[clippy::version = "pre 1.29.0"]
pub INVALID_REGEX,