FIXME in Drop for QueryState
This commit is contained in:
@@ -414,8 +414,8 @@ pub struct QueryState<'a> {
|
|||||||
|
|
||||||
impl Drop for QueryState<'_> {
|
impl Drop for QueryState<'_> {
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
// This may be wrong if the iterator is not fully consumend, but from testing it seems
|
// FIXME: This may be wrong if the iterator is not fully consumend, but from testing it
|
||||||
// fine.
|
// seems fine. Is this really ok?
|
||||||
self.machine.trust_me();
|
self.machine.trust_me();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -523,7 +523,6 @@ impl Iterator for QueryState<'_> {
|
|||||||
|
|
||||||
Some(Ok(LeafAnswer::LeafAnswer {
|
Some(Ok(LeafAnswer::LeafAnswer {
|
||||||
bindings,
|
bindings,
|
||||||
residual_goals: vec![],
|
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user