Upgrade rust/crates/regex-automata to 0.1.10
Test: make
Change-Id: Iba14ce63ff5be85b611cd1768692d8fb6a2aa6e8
diff --git a/src/determinize.rs b/src/determinize.rs
index f300316..cf0c285 100644
--- a/src/determinize.rs
+++ b/src/determinize.rs
@@ -148,7 +148,8 @@
if let Some(&cached_id) = self.cache.get(&state) {
// Since we have a cached state, put the constructed state's
// memory back into our scratch space, so that it can be reused.
- mem::replace(&mut self.scratch_nfa_states, state.nfa_states);
+ let _ =
+ mem::replace(&mut self.scratch_nfa_states, state.nfa_states);
return Ok((cached_id, false));
}
// Nothing was in the cache, so add this state to the cache.