mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
style(mgr): rustfmt MgrSnap::selected chain for nightly CI
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
4531842b40
commit
751d5729bc
1 changed files with 5 additions and 1 deletions
|
|
@ -33,7 +33,11 @@ impl Splatable for MgrSnap {
|
||||||
None => &[],
|
None => &[],
|
||||||
};
|
};
|
||||||
|
|
||||||
urls.iter().skip(idx.unwrap_or(0)).take(if idx.is_some() { 1 } else { usize::MAX }).map(AsUrl::as_url)
|
urls
|
||||||
|
.iter()
|
||||||
|
.skip(idx.unwrap_or(0))
|
||||||
|
.take(if idx.is_some() { 1 } else { usize::MAX })
|
||||||
|
.map(AsUrl::as_url)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn hovered(&self, tab: usize) -> Option<Url<'_>> {
|
fn hovered(&self, tab: usize) -> Option<Url<'_>> {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue