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,
|
&self.atom_tbl,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
unify_fn!(*self, var_names_offset, var_names_addr);
|
||||||
Ok(unify_fn!(*self, var_names_offset, var_names_addr))
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn read_term_body(&mut self, mut term_write_result: TermWriteResult) -> CallResult {
|
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);
|
stream.set_past_end_of_stream(true);
|
||||||
Ok(unify!(self, result, end_of_stream))
|
unify!(self, result, end_of_stream);
|
||||||
|
Ok(())
|
||||||
}
|
}
|
||||||
EOFAction::Reset => {
|
EOFAction::Reset => {
|
||||||
if !stream.reset() {
|
if !stream.reset() {
|
||||||
|
|||||||
Reference in New Issue
Block a user