remove unneeded into()

This commit is contained in:
Lynne Megido 2021-08-31 19:15:54 +10:00
parent c2988e4f10
commit 88b5070a03
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90
2 changed files with 1 additions and 3 deletions

2
Cargo.lock generated
View file

@ -1,7 +1,5 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "arrayvec"
version = "0.5.2"

View file

@ -38,7 +38,7 @@ impl serde::Serialize for Findings {
impl Findings {
pub fn recommended_extension(&self) -> Option<String> {
mime_extension_lookup(self.mime.essence_str().into()).map(|extensions| extensions[0].clone().into())
mime_extension_lookup(self.mime.essence_str().into()).map(|extensions| extensions[0].clone())
}
}