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

@@ -102,7 +102,7 @@ mod map_functions {
if map.is_empty() {
Array::new()
} else {
map.keys().cloned().map(Into::<Dynamic>::into).collect()
map.keys().cloned().map(Into::into).collect()
}
}
#[cfg(not(feature = "no_index"))]