about summary refs log tree commit diff
path: root/src/docs/invalid_regex.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/docs/invalid_regex.txt')
-rw-r--r--src/docs/invalid_regex.txt12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/docs/invalid_regex.txt b/src/docs/invalid_regex.txt
deleted file mode 100644
index 6c9969b6e1a..00000000000
--- a/src/docs/invalid_regex.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-### What it does
-Checks [regex](https://crates.io/crates/regex) creation
-(with `Regex::new`, `RegexBuilder::new`, or `RegexSet::new`) for correct
-regex syntax.
-
-### Why is this bad?
-This will lead to a runtime panic.
-
-### Example
-```
-Regex::new("(")
-```
\ No newline at end of file