mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-24 21:44:45 +00:00
Fix nightly clippy warnings
This commit is contained in:
parent
15e2ac3fd7
commit
621f58407a
2 changed files with 10 additions and 22 deletions
|
@ -996,20 +996,8 @@ impl Instruction {
|
|||
| SetupFinally { .. }
|
||||
| EnterFinally
|
||||
| EndFinally => 0,
|
||||
SetupExcept { .. } => {
|
||||
if jump {
|
||||
1
|
||||
} else {
|
||||
0
|
||||
}
|
||||
}
|
||||
SetupWith { .. } => {
|
||||
if jump {
|
||||
0
|
||||
} else {
|
||||
1
|
||||
}
|
||||
}
|
||||
SetupExcept { .. } => jump as i32,
|
||||
SetupWith { .. } => (!jump) as i32,
|
||||
WithCleanupStart => 0,
|
||||
WithCleanupFinish => -1,
|
||||
PopBlock => 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue