Skip to content

Commit 23acee9

Browse files
committed
malformat
1 parent 1404935 commit 23acee9

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

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

0 commit comments

Comments
 (0)