mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03: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:
@@ -19,7 +19,7 @@
|
||||
///
|
||||
/// ### Example
|
||||
/// ```ignore
|
||||
/// Regex::new("|")
|
||||
/// Regex::new("(")
|
||||
/// ```
|
||||
#[clippy::version = "pre 1.29.0"]
|
||||
pub INVALID_REGEX,
|
||||
|
||||
Reference in New Issue
Block a user