This commit is contained in:
hankertrix 2025-05-02 14:07:13 +08:00
parent 9a835cf470
commit 2bd5c3ddeb

View file

@ -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<dyn Iterator<Item = &Url> + '_>;
it = Box::new([&h.url].into_iter()).peekable() as Box<dyn Iterator<Item = &Url> + '_>;
} else { return };
}
while let Some(u) = it.next() {