From 751d5729bcb0789d90b3635cea5654f1401f47fb Mon Sep 17 00:00:00 2001 From: arimu1 <19286898+arimu1@users.noreply.github.com> Date: Tue, 21 Jul 2026 12:14:40 +0700 Subject: [PATCH] style(mgr): rustfmt MgrSnap::selected chain for nightly CI Co-authored-by: Cursor --- yazi-core/src/mgr/snap.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/yazi-core/src/mgr/snap.rs b/yazi-core/src/mgr/snap.rs index df93a2ae..8d79ce00 100644 --- a/yazi-core/src/mgr/snap.rs +++ b/yazi-core/src/mgr/snap.rs @@ -33,7 +33,11 @@ impl Splatable for MgrSnap { 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> {