aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-05-19 16:51:51 -0700
committerJoel Galenson <jgalenson@google.com>2021-05-19 16:51:51 -0700
commit3874808a33005b78d4dcbc84fc41afe856c2904c (patch)
tree02c0b3035a3cf71f10f04c344fb3e636a1090409 /examples
parentffb6030a530f824e597fae242b0c77c0743fc545 (diff)
downloadregex-3874808a33005b78d4dcbc84fc41afe856c2904c.tar.gz
Upgrade rust/crates/regex to 1.5.4
Test: make Change-Id: I0eab39246dc2aea41a62c15661e350b490f06c1d
Diffstat (limited to 'examples')
-rw-r--r--examples/shootout-regex-dna-bytes.rs2
-rw-r--r--examples/shootout-regex-dna-cheat.rs2
-rw-r--r--examples/shootout-regex-dna-replace.rs2
-rw-r--r--examples/shootout-regex-dna-single-cheat.rs2
-rw-r--r--examples/shootout-regex-dna-single.rs2
-rw-r--r--examples/shootout-regex-dna.rs2
6 files changed, 0 insertions, 12 deletions
diff --git a/examples/shootout-regex-dna-bytes.rs b/examples/shootout-regex-dna-bytes.rs
index ac4c115..773fd9b 100644
--- a/examples/shootout-regex-dna-bytes.rs
+++ b/examples/shootout-regex-dna-bytes.rs
@@ -5,8 +5,6 @@
// contributed by TeXitoi
// contributed by BurntSushi
-extern crate regex;
-
use std::io::{self, Read};
use std::sync::Arc;
use std::thread;
diff --git a/examples/shootout-regex-dna-cheat.rs b/examples/shootout-regex-dna-cheat.rs
index c7395b7..1bde7ab 100644
--- a/examples/shootout-regex-dna-cheat.rs
+++ b/examples/shootout-regex-dna-cheat.rs
@@ -10,8 +10,6 @@
// replacing them with a single linear scan. i.e., it re-implements
// `replace_all`. As a result, this is around 25% faster. ---AG
-extern crate regex;
-
use std::io::{self, Read};
use std::sync::Arc;
use std::thread;
diff --git a/examples/shootout-regex-dna-replace.rs b/examples/shootout-regex-dna-replace.rs
index 681e077..20694e0 100644
--- a/examples/shootout-regex-dna-replace.rs
+++ b/examples/shootout-regex-dna-replace.rs
@@ -1,5 +1,3 @@
-extern crate regex;
-
use std::io::{self, Read};
macro_rules! regex {
diff --git a/examples/shootout-regex-dna-single-cheat.rs b/examples/shootout-regex-dna-single-cheat.rs
index 04ed05a..70a979c 100644
--- a/examples/shootout-regex-dna-single-cheat.rs
+++ b/examples/shootout-regex-dna-single-cheat.rs
@@ -5,8 +5,6 @@
// contributed by TeXitoi
// contributed by BurntSushi
-extern crate regex;
-
use std::io::{self, Read};
macro_rules! regex {
diff --git a/examples/shootout-regex-dna-single.rs b/examples/shootout-regex-dna-single.rs
index a70c711..b474059 100644
--- a/examples/shootout-regex-dna-single.rs
+++ b/examples/shootout-regex-dna-single.rs
@@ -5,8 +5,6 @@
// contributed by TeXitoi
// contributed by BurntSushi
-extern crate regex;
-
use std::io::{self, Read};
macro_rules! regex {
diff --git a/examples/shootout-regex-dna.rs b/examples/shootout-regex-dna.rs
index 4527422..b96518e 100644
--- a/examples/shootout-regex-dna.rs
+++ b/examples/shootout-regex-dna.rs
@@ -5,8 +5,6 @@
// contributed by TeXitoi
// contributed by BurntSushi
-extern crate regex;
-
use std::io::{self, Read};
use std::sync::Arc;
use std::thread;