mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix
This commit is contained in:
parent
7a88621b92
commit
9a835cf470
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ impl Tab {
|
||||||
let mut it = self.selected_or_hovered().peekable();
|
let mut it = self.selected_or_hovered().peekable();
|
||||||
if opt.hovered {
|
if opt.hovered {
|
||||||
if let Some(h) = self.hovered() {
|
if let Some(h) = self.hovered() {
|
||||||
it = Box::new([&h.url, &h.url].into_iter()).peekable();
|
it = Box::new([&h.url, &h.url].into_iter()).peekable() as Box<dyn Iterator<Item = &Url> + '_>;
|
||||||
} else { return };
|
} else { return };
|
||||||
}
|
}
|
||||||
while let Some(u) = it.next() {
|
while let Some(u) = it.next() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue