From 2bd5c3ddebdf3abc344ddba0a71a01e7a65e623d Mon Sep 17 00:00:00 2001 From: hankertrix <91734413+hankertrix@users.noreply.github.com> Date: Fri, 2 May 2025 14:07:13 +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 e3dc42c7..c83e2dfc 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([&h.url, &h.url].into_iter()).peekable() as Box + '_>; + it = Box::new([&h.url].into_iter()).peekable() as Box + '_>; } else { return }; } while let Some(u) = it.next() {