chore: clippy fix useless_conversion

This commit is contained in:
quake
2022-07-20 21:28:17 +09:00
parent e707b66639
commit 8d91e7eb63
5 changed files with 7 additions and 8 deletions

View File

@@ -693,7 +693,7 @@ impl Module {
#[cfg(feature = "metadata")]
comments: Box::default(),
},
func: Into::<CallableFunction>::into(fn_def).into(),
func: fn_def.into(),
param_types: StaticVec::new_const(),
}
.into(),
@@ -1029,7 +1029,7 @@ impl Module {
#[cfg(feature = "metadata")]
comments: Box::default(),
},
func: func.into(),
func,
param_types,
}
.into(),