diff options
author | Christian Poveda <christian.poveda@ferrous-systems.com> | 2022-09-26 13:22:15 -0500 |
---|---|---|
committer | Christian Poveda <christian.poveda@ferrous-systems.com> | 2022-09-26 13:22:15 -0500 |
commit | 4cfd06e9e13f0c4177f052677fb7d67dc0367176 (patch) | |
tree | ef3685345060cecea6ed740ac7002d97dc2a521c /src/regex_set.rs | |
parent | 2963d057ee3df5dc576ee41c597919ed8a28bd68 (diff) |
make `BindgenOptions` clonable
Diffstat (limited to 'src/regex_set.rs')
-rw-r--r-- | src/regex_set.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex_set.rs b/src/regex_set.rs index 127c0018..9262c4ee 100644 --- a/src/regex_set.rs +++ b/src/regex_set.rs @@ -4,7 +4,7 @@ use regex::RegexSet as RxSet; use std::cell::Cell; /// A dynamic set of regular expressions. -#[derive(Debug, Default)] +#[derive(Clone, Debug, Default)] pub struct RegexSet { items: Vec<String>, /// Whether any of the items in the set was ever matched. The length of this |