Fix clippy lints

This commit is contained in:
Noah 2020-10-17 20:05:09 -05:00
parent ebee651a12
commit 868fdfcc36

View file

@ -170,7 +170,7 @@ impl Compiler {
}
fn push_output(&mut self, code: CodeObject) {
self.output_stack.push(code.into());
self.output_stack.push(code);
}
fn push_new_code_object(&mut self, obj_name: String) {
@ -189,7 +189,7 @@ impl Compiler {
}
fn pop_code_object(&mut self) -> CodeObject {
self.output_stack.pop().unwrap().into()
self.output_stack.pop().unwrap()
}
fn compile_program(