We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6beb76e + 094614e commit 4b0babcCopy full SHA for 4b0babc
src/nfa.rs
@@ -188,7 +188,7 @@ pub struct Match<'a> {
188
}
189
190
impl<'a> Match<'a> {
191
- pub fn new<'a>(state: uint, captures: Vec<&'a str>) -> Match<'a> {
+ pub fn new<'b>(state: uint, captures: Vec<&'b str>) -> Match<'b> {
192
Match{ state: state, captures: captures }
193
194
@@ -227,7 +227,7 @@ impl<T> NFA<T> {
227
threads = next_threads;
228
229
230
- let mut returned = threads.into_iter().filter(|thread| {
+ let returned = threads.into_iter().filter(|thread| {
231
self.get(thread.state).acceptance
232
});
233
0 commit comments