mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-19 19:15:43 +00:00
Fix clippy lints
This commit is contained in:
parent
ebee651a12
commit
868fdfcc36
1 changed files with 2 additions and 2 deletions
|
@ -170,7 +170,7 @@ impl Compiler {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn push_output(&mut self, code: CodeObject) {
|
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) {
|
fn push_new_code_object(&mut self, obj_name: String) {
|
||||||
|
@ -189,7 +189,7 @@ impl Compiler {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn pop_code_object(&mut self) -> CodeObject {
|
fn pop_code_object(&mut self) -> CodeObject {
|
||||||
self.output_stack.pop().unwrap().into()
|
self.output_stack.pop().unwrap()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn compile_program(
|
fn compile_program(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue