fix clippy::unit_arg
This commit is contained in:
committed by
Bennet Bleßmann
parent
73cc872b50
commit
6885074006
@@ -659,8 +659,8 @@ impl MachineState {
|
||||
&self.atom_tbl,
|
||||
)
|
||||
);
|
||||
|
||||
Ok(unify_fn!(*self, var_names_offset, var_names_addr))
|
||||
unify_fn!(*self, var_names_offset, var_names_addr);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn read_term_body(&mut self, mut term_write_result: TermWriteResult) -> CallResult {
|
||||
|
||||
@@ -1653,7 +1653,8 @@ impl MachineState {
|
||||
};
|
||||
|
||||
stream.set_past_end_of_stream(true);
|
||||
Ok(unify!(self, result, end_of_stream))
|
||||
unify!(self, result, end_of_stream);
|
||||
Ok(())
|
||||
}
|
||||
EOFAction::Reset => {
|
||||
if !stream.reset() {
|
||||
|
||||
Reference in New Issue
Block a user