From 0d12261b08f008879046095d3981b7e50ed58a44 Mon Sep 17 00:00:00 2001 From: hankertrix <91734413+hankertrix@users.noreply.github.com> Date: Fri, 2 May 2025 14:14:36 +0800 Subject: [PATCH] fix --- yazi-core/src/tab/commands/copy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yazi-core/src/tab/commands/copy.rs b/yazi-core/src/tab/commands/copy.rs index 7fe848c1..eb555897 100644 --- a/yazi-core/src/tab/commands/copy.rs +++ b/yazi-core/src/tab/commands/copy.rs @@ -32,7 +32,7 @@ impl Tab { let mut it = self.selected_or_hovered().peekable(); if opt.hovered { if let Some(h) = self.hovered() { - it = Box::new(vec![&h.url].into_iter()).peekable() as Box + '_>; + it = (Box::new(vec![&h.url].into_iter()) as Box + '_>).peekable(); } else { return }; } while let Some(u) = it.next() {