No need for types with Into::into.

This commit is contained in:
Stephen Chung
2021-12-27 16:59:05 +08:00
parent f443e4d9f6
commit 757eacfdde
7 changed files with 17 additions and 35 deletions

View File

@@ -71,7 +71,7 @@ fn collect_fn_metadata(ctx: NativeCallContext) -> crate::Array {
f.params
.iter()
.cloned()
.map(Into::<Dynamic>::into)
.map(Into::into)
.collect::<Array>()
.into(),
);