clippy fixes

This commit is contained in:
dignifiedquire
2022-09-19 21:49:44 +02:00
parent 1f4384b302
commit c9cd4c9746
3 changed files with 5 additions and 5 deletions

View File

@@ -864,7 +864,7 @@ async fn export_backup_iroh_inner(
dir_builder.name(
temp_path
.file_name()
.map(|s| s.to_string_lossy().to_owned())
.map(|s| s.to_string_lossy())
.unwrap_or_default(),
);