You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2026/10/26 07:37:44 UTC

(opendal-yinyang) 01/06: fix: remove a redundant closure borrow for current clippy

This is an automated email from the ASF dual-hosted git repository.

Xuanwo pushed a commit to branch xuanwo/linux-fuse-foundation
in repository https://gitbox.apache.org/repos/asf/opendal-yinyang.git

commit 6cd783b292413b98baf1824cc15ae87286b68579
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Mon Oct 26 14:40:53 2026 +0800

    fix: remove a redundant closure borrow for current clippy
    
    Co-authored-by: Chojan Shang <ps...@apache.org>
---
 crates/core/src/transaction.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crates/core/src/transaction.rs b/crates/core/src/transaction.rs
index d19664c..3e88268 100644
--- a/crates/core/src/transaction.rs
+++ b/crates/core/src/transaction.rs
@@ -331,7 +331,7 @@ impl Transaction {
                         id: NodeId::from_bytes(node),
                         parent: NodeId::from_bytes(parent),
                         name,
-                        file: file.map(&find).transpose()?,
+                        file: file.map(find).transpose()?,
                         executable,
                     }
                 }