Skip to content

Commit 8a8170f

Browse files
Auto-format: cargo fmt --all
1 parent 0c75c7c commit 8a8170f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

crates/vm/src/stdlib/ast/other.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,10 @@ impl Node for ruff::ConversionFlag {
1414
) -> PyResult<Self> {
1515
i32::try_from_object(vm, object)?
1616
.to_u32()
17-
.and_then(
18-
bytecode::ConversionFlag::from_op_arg)
17+
.and_then(bytecode::ConversionFlag::from_op_arg)
1918
.map(|flag| match flag {
20-
bytecode::ConversionFlag::None =>
21-
Self::None,
22-
bytecode::ConversionFlag::Str =>
23-
Self::Str,
19+
bytecode::ConversionFlag::None => Self::None,
20+
bytecode::ConversionFlag::Str => Self::Str,
2421
bytecode::ConversionFlag::Ascii => Self::Ascii,
2522
bytecode::ConversionFlag::Repr => Self::Repr,
2623
})

0 commit comments

Comments
 (0)