File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
engine/src/conversion/analysis/fun Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,6 @@ pub(super) fn create_subclass_trait_item(
88
88
. param_details
89
89
. iter ( )
90
90
. map ( |pd| pd. name . clone ( ) )
91
- . map ( Into :: into)
92
91
. collect ( ) ;
93
92
let requires_unsafe = if matches ! ( unsafe_policy, UnsafePolicy :: AllFunctionsUnsafe ) {
94
93
UnsafetyNeeded :: Always
@@ -129,7 +128,7 @@ pub(super) fn create_subclass_function(
129
128
let params = std:: iter:: once ( crate :: minisyn:: FnArg ( parse_quote ! {
130
129
me: & #holder_name
131
130
} ) )
132
- . chain ( analysis. params . iter ( ) . skip ( 1 ) . cloned ( ) . map ( Into :: into ) )
131
+ . chain ( analysis. params . iter ( ) . skip ( 1 ) . cloned ( ) )
133
132
. collect ( ) ;
134
133
let kind = if matches ! ( receiver_mutability, ReceiverMutability :: Mutable ) {
135
134
CppFunctionKind :: Method
You can’t perform that action at this time.
0 commit comments