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

Appearance settings

Commit f5251a5

Browse filesBrowse files
committed
formatting
1 parent 28c5b91 commit f5251a5
Copy full SHA for f5251a5

File tree

1 file changed

+3
-3
lines changed
Filter options

1 file changed

+3
-3
lines changed

‎vm/src/stdlib/ctypes/function.rs

Copy file name to clipboardExpand all lines: vm/src/stdlib/ctypes/function.rs
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,9 @@ impl Callable for PyCFuncPtr {
185185
let name = zelf.name.read();
186186
let res_type = zelf._restype_.read();
187187
let func = Function::load(
188-
inner_lib.as_ref().ok_or_else(|| {
189-
vm.new_value_error("Library not found".to_string())
190-
})?,
188+
inner_lib
189+
.as_ref()
190+
.ok_or_else(|| vm.new_value_error("Library not found".to_string()))?,
191191
&name,
192192
&args.args,
193193
&res_type,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.