Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0e4d367

Browse files
committed
Fixed formatting
1 parent0140719 commit0e4d367

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
fnobject_and(vm:&mutVirtualMachine,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
fnobject_dict(vm:&mutVirtualMachine,args:PyFuncArgs) ->PyResult{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp