From 2ef71f3faf2c2ae778b1a2e2465366c28b467fcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9=20Lled=C3=B3=20Frasquet?= Date: Mon, 12 Jan 2026 13:42:20 +0100 Subject: [PATCH] refactor: discard result explicitly --- yazi-actor/src/mgr/rename.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yazi-actor/src/mgr/rename.rs b/yazi-actor/src/mgr/rename.rs index 9193b395..d103d51b 100644 --- a/yazi-actor/src/mgr/rename.rs +++ b/yazi-actor/src/mgr/rename.rs @@ -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!();