Simplified the code, removed first_arg, the Option
This commit is contained in:
@@ -143,8 +143,8 @@ impl CodeOffsets {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn index_term(&mut self, first_arg: &Term, index: usize) {
|
||||
match first_arg {
|
||||
pub fn index_term(&mut self, optimal_arg: &Term, index: usize) {
|
||||
match optimal_arg {
|
||||
&Term::Clause(_, ref name, ref terms, _) => {
|
||||
let code = self
|
||||
.structures
|
||||
|
||||
Reference in New Issue
Block a user