mirror of
https://github.com/RustPython/Parser.git
synced 2025-09-23 18:42:25 +00:00
Merge pull request #4223 from youknowone/nightly-clippy
Fix nightly clippy warnings
This commit is contained in:
commit
2e33a3d0e9
1 changed files with 2 additions and 14 deletions
|
@ -996,20 +996,8 @@ impl Instruction {
|
||||||
| SetupFinally { .. }
|
| SetupFinally { .. }
|
||||||
| EnterFinally
|
| EnterFinally
|
||||||
| EndFinally => 0,
|
| EndFinally => 0,
|
||||||
SetupExcept { .. } => {
|
SetupExcept { .. } => jump as i32,
|
||||||
if jump {
|
SetupWith { .. } => (!jump) as i32,
|
||||||
1
|
|
||||||
} else {
|
|
||||||
0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
SetupWith { .. } => {
|
|
||||||
if jump {
|
|
||||||
0
|
|
||||||
} else {
|
|
||||||
1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
WithCleanupStart => 0,
|
WithCleanupStart => 0,
|
||||||
WithCleanupFinish => -1,
|
WithCleanupFinish => -1,
|
||||||
PopBlock => 0,
|
PopBlock => 0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue