mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 16:45:37 +00:00
Revert the regex test change.
This commit is contained in:
parent
c3a8946a46
commit
6c18811764
@ -112,7 +112,7 @@ error: trivial regex
|
|||||||
error: trivial regex
|
error: trivial regex
|
||||||
--> $DIR/regex.rs:62:40
|
--> $DIR/regex.rs:62:40
|
||||||
|
|
|
|
||||||
62 | let trivial_backslash = Regex::new("a//.b");
|
62 | let trivial_backslash = Regex::new("a/.b");
|
||||||
| ^^^^^^^
|
| ^^^^^^^
|
||||||
|
|
|
|
||||||
= help: consider using consider using `str::contains`
|
= help: consider using consider using `str::contains`
|
||||||
|
Loading…
Reference in New Issue
Block a user