Fix warnings

This commit is contained in:
bakaq
2024-09-06 17:56:12 -03:00
parent ada9ba98cc
commit d32f3ee2f3
17 changed files with 10 additions and 214 deletions

View File

@@ -256,31 +256,16 @@ impl MachineState {
unifier.unify_internal();
}
pub fn unify_structure(&mut self, s1: usize, value: HeapCellValue) {
let mut unifier = DefaultUnifier::from(self);
unifier.unify_structure(s1, value);
}
pub fn unify_atom(&mut self, atom: Atom, value: HeapCellValue) {
let mut unifier = DefaultUnifier::from(self);
unifier.unify_atom(atom, value);
}
pub fn unify_list(&mut self, l1: usize, value: HeapCellValue) {
let mut unifier = DefaultUnifier::from(self);
unifier.unify_list(l1, value);
}
pub fn unify_complete_string(&mut self, atom: Atom, value: HeapCellValue) {
let mut unifier = DefaultUnifier::from(self);
unifier.unify_complete_string(atom, value);
}
pub fn unify_partial_string(&mut self, value_1: HeapCellValue, value_2: HeapCellValue) {
let mut unifier = DefaultUnifier::from(self);
unifier.unify_partial_string(value_1, value_2);
}
pub fn unify_char(&mut self, c: char, value: HeapCellValue) {
let mut unifier = DefaultUnifier::from(self);
unifier.unify_char(c, value);