Skip to content

Commit 826191f

Browse files
Clippy and errors
1 parent cc87951 commit 826191f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/unarchive.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ fn expand(downloaded_file: &LocalVersion) -> Result<()> {
273273
downloaded_file.path, downloaded_file.file_name
274274
));
275275

276-
let file = Path::from(downloaded_file.file_name).join("bin/nvim");
276+
let file = PathBuf::from(downloaded_file.file_name).join("bin/nvim");
277277
let mut perms = fs::metadata(file)?.permissions();
278278
perms.set_mode(0o755);
279279
fs::set_permissions(file, perms)?;

0 commit comments

Comments
 (0)