Skip to content

Commit 8713015

Browse files
Auto-format: cargo fmt --all
1 parent d4f33c4 commit 8713015

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

crates/vm/src/stdlib/ast.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,13 @@ fn empty_arguments_object(vm: &VirtualMachine) -> PyObjectRef {
271271
.into_ref_with_type(vm, pyast::NodeArguments::static_type().to_owned())
272272
.unwrap();
273273
let dict = node.as_object().dict().unwrap();
274-
for list_field in ["posonlyargs", "args", "kwonlyargs", "kw_defaults", "defaults"] {
274+
for list_field in [
275+
"posonlyargs",
276+
"args",
277+
"kwonlyargs",
278+
"kw_defaults",
279+
"defaults",
280+
] {
275281
dict.set_item(list_field, vm.ctx.new_list(vec![]).into(), vm)
276282
.unwrap();
277283
}

0 commit comments

Comments
 (0)