Skip to content

Commit 0e4d367

Browse files
committed
Fixed formatting
1 parent 0140719 commit 0e4d367

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

vm/src/obj/objobject.rs

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -109,18 +109,14 @@ fn object_init(vm: &mut VirtualMachine, _args: PyFuncArgs) -> PyResult {
109109
}
110110

111111
fn object_and(vm: &mut VirtualMachine, args: PyFuncArgs) -> PyResult {
112-
arg_check!(
113-
vm,
114-
args,
115-
required = [
116-
(zelf, None),
117-
(other, None)
118-
]
119-
);
112+
arg_check!(vm, args, required = [(zelf, None), (other, None)]);
120113

121114
let zelf_type = objtype::get_type_name(&zelf.typ());
122115
let other_type = objtype::get_type_name(&other.typ());
123-
Err(vm.new_type_error(format!("unsupported operand type(s) for &: {:?} and {:?}", zelf_type, other_type)))
116+
Err(vm.new_type_error(format!(
117+
"unsupported operand type(s) for &: {:?} and {:?}",
118+
zelf_type, other_type
119+
)))
124120
}
125121

126122
fn object_dict(vm: &mut VirtualMachine, args: PyFuncArgs) -> PyResult {

0 commit comments

Comments
 (0)