mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
refactor: discard result explicitly
This commit is contained in:
parent
b0bb9f19d8
commit
2ef71f3faf
1 changed files with 2 additions and 2 deletions
|
|
@ -76,9 +76,9 @@ impl Actor for Rename {
|
|||
}
|
||||
|
||||
if conversion_to_dir_requested && target_is_empty {
|
||||
Self::replace_file_with_dir(old, new).await.ok();
|
||||
_ = Self::replace_file_with_dir(old, new).await;
|
||||
} else {
|
||||
Self::r#do(tab, old, new).await.ok();
|
||||
_ = Self::r#do(tab, old, new).await;
|
||||
}
|
||||
});
|
||||
succ!();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue