Skip to content

Commit 113c05b

Browse files
authored
Merge pull request #1447 from google/clippy-fixes-3
Clippy fixes.
2 parents 46c9a73 + 47f29bc commit 113c05b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

engine/src/conversion/analysis/fun/subclass.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ pub(super) fn create_subclass_trait_item(
8888
.param_details
8989
.iter()
9090
.map(|pd| pd.name.clone())
91-
.map(Into::into)
9291
.collect();
9392
let requires_unsafe = if matches!(unsafe_policy, UnsafePolicy::AllFunctionsUnsafe) {
9493
UnsafetyNeeded::Always
@@ -129,7 +128,7 @@ pub(super) fn create_subclass_function(
129128
let params = std::iter::once(crate::minisyn::FnArg(parse_quote! {
130129
me: & #holder_name
131130
}))
132-
.chain(analysis.params.iter().skip(1).cloned().map(Into::into))
131+
.chain(analysis.params.iter().skip(1).cloned())
133132
.collect();
134133
let kind = if matches!(receiver_mutability, ReceiverMutability::Mutable) {
135134
CppFunctionKind::Method

0 commit comments

Comments
 (0)