refactor: discard result explicitly

This commit is contained in:
Juan José Lledó Frasquet 2026-01-12 13:42:20 +01:00
parent b0bb9f19d8
commit 2ef71f3faf

View file

@ -76,9 +76,9 @@ impl Actor for Rename {
} }
if conversion_to_dir_requested && target_is_empty { 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 { } else {
Self::r#do(tab, old, new).await.ok(); _ = Self::r#do(tab, old, new).await;
} }
}); });
succ!(); succ!();