From bb62766d7b479548859ef96a3e1646feda63eb99 Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Sun, 16 Nov 2025 22:14:14 +0900 Subject: [PATCH 1/2] malformat --- crates/vm/src/stdlib/ast/other.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/crates/vm/src/stdlib/ast/other.rs b/crates/vm/src/stdlib/ast/other.rs index 780d7cc712..84bb79bd5d 100644 --- a/crates/vm/src/stdlib/ast/other.rs +++ b/crates/vm/src/stdlib/ast/other.rs @@ -14,10 +14,13 @@ impl Node for ruff::ConversionFlag { ) -> PyResult { i32::try_from_object(vm, object)? .to_u32() - .and_then(bytecode::ConversionFlag::from_op_arg) + .and_then( + bytecode::ConversionFlag::from_op_arg) .map(|flag| match flag { - bytecode::ConversionFlag::None => Self::None, - bytecode::ConversionFlag::Str => Self::Str, + bytecode::ConversionFlag::None => + Self::None, + bytecode::ConversionFlag::Str => + Self::Str, bytecode::ConversionFlag::Ascii => Self::Ascii, bytecode::ConversionFlag::Repr => Self::Repr, }) From 61c0f520d4978213be87685eeac2699c20903e89 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 25 Nov 2025 11:18:10 +0000 Subject: [PATCH 2/2] Auto-format: cargo fmt --all --- crates/vm/src/stdlib/ast/other.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/crates/vm/src/stdlib/ast/other.rs b/crates/vm/src/stdlib/ast/other.rs index 84bb79bd5d..780d7cc712 100644 --- a/crates/vm/src/stdlib/ast/other.rs +++ b/crates/vm/src/stdlib/ast/other.rs @@ -14,13 +14,10 @@ impl Node for ruff::ConversionFlag { ) -> PyResult { i32::try_from_object(vm, object)? .to_u32() - .and_then( - bytecode::ConversionFlag::from_op_arg) + .and_then(bytecode::ConversionFlag::from_op_arg) .map(|flag| match flag { - bytecode::ConversionFlag::None => - Self::None, - bytecode::ConversionFlag::Str => - Self::Str, + bytecode::ConversionFlag::None => Self::None, + bytecode::ConversionFlag::Str => Self::Str, bytecode::ConversionFlag::Ascii => Self::Ascii, bytecode::ConversionFlag::Repr => Self::Repr, })