Skip to content

Commit 7db7d62

Browse files
author
toasteater
committed
Fix wrapping methods that return types containing Self
1 parent 6d4e417 commit 7db7d62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gdnative-core/src/nativescript/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ macro_rules! godot_wrap_method_inner {
121121
$($pname,)*
122122
$($opt_pname,)*
123123
);
124-
<$retty as $crate::core_types::OwnedToVariant>::owned_to_variant(ret)
124+
OwnedToVariant::owned_to_variant(ret)
125125
})
126126
.unwrap_or_else(|err| {
127127
$crate::godot_error!("gdnative-core: method call failed with error: {}", err);

0 commit comments

Comments
 (0)