commit | 849e4457e7a77114ede925233df78a9dc6ad665b | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Mon Oct 26 13:16:47 2020 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Mon Oct 26 13:16:47 2020 -0700 |
tree | e873b7eb9bb377a84845126bfbbbc5301481d3bc | |
parent | 01a9012e518e5502dc54ae36ed78610a492a4737 [diff] [blame] |
Upgrade rust/crates/regex to 1.4.1 Test: make Change-Id: Ie12506e8c765f9dd8043cd61b0c77bebd887302e
diff --git a/src/re_trait.rs b/src/re_trait.rs index b56804e..d14a9f7 100644 --- a/src/re_trait.rs +++ b/src/re_trait.rs
@@ -51,6 +51,7 @@ /// Positions are byte indices in terms of the original string matched. /// /// `'c` is the lifetime of the captures. +#[derive(Clone)] pub struct SubCapturesPosIter<'c> { idx: usize, locs: &'c Locations,